What problem does it solve?
Vega and Vega-Lite specs turn your raw numeric and categorical data into clear, reusable visualizations so you can explore trends and communicate results without manual chart tinkering.
Core Features & Use Cases
- Declarative Vega-Lite chart authoring: Build bar, line, scatter, area, heatmap, and many more statistical visualizations from an array of records.
- Programmatic Vega control: Use Vega for advanced layouts and custom visuals such as radar charts and word clouds.
- Robust spec validation guidance: Apply required Vega-Lite syntax rules like including the correct schema, producing valid JSON, matching field names case-sensitively, and using supported data types.
Quick Start
Create a Vega-Lite chart by structuring your data as an array of objects, selecting an appropriate mark (bar, line, point, area, rect, or arc), mapping fields to encodings (x, y, color, size), and wrapping the resulting spec in a vega-lite code block while including the required $schema.