Skip to main content

Style Vega

Vega controls presentation through scales, mark encodings, axes, legends, and configuration.

Start with the general presentation settings. Edit shared or raw presentation in Details, and keep renderer-specific styling in Source.

Source controls

  • Set colors and sizes in mark encodings.
  • Use scales when a visual value depends on data.
  • Use the configuration object for common defaults.
  • Keep all data and images inline.

Limitations

  • URL-backed data and images are not available.
  • diagram.zip returns SVG for this type.