Skip to main content

Style Vega-Lite

Vega-Lite controls presentation through marks, encodings, scales, 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 mark properties for one mark.
  • Set channel scale and axis properties in the encoding.
  • 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.