Style Vega
Vega controls presentation through scales, mark encodings, axes, legends, and configuration.
Start with the general presentation settings. They control the canvas background, padding, and frame for every diagram.
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.