Vega-Lite is a high-level grammar of interactive graphics. It provides a concise, declarative JSON syntax to create an expressive range of visualizations for data analysis and presentation.
Vega-Lite specifications describe visualizations as encoding mappings from data toproperties of graphical marks (e.g., points or bars). The Vega-Lite compilerautomatically produces visualization components including axes, legends, and scales. It determines default properties of these components based on a set ofcarefully designed rules. This approach allows Vega-Lite specifications to be concise for quick visualization authoring, while giving user control to override defaults and customize various parts of a visualization. As we also designed Vega-Lite to support data analysis, Vega-Lite supports bothdata transformations (e.g., aggregation, binning, filtering, sorting) andvisual transformations (e.g., stacking and faceting). Moreover, Vega-Lite specifications can becomposed into layered and multi-view displays, and madeinteractive with selections.Get started
Latest Version: 5.21.0Try online
Compared toVega, Vega-Lite provides a more concise and convenient form to author common visualizations. As Vega-Lite can compile its specifications to Vega specifications, users may use Vega-Lite as theprimary visualization tool and, if needed, transition to use the lower-level Vega for advanced use cases.
For more information, read ourintroduction article to Vega-Lite v2 on Medium, watch ourOpenVis Conf talk about the new features in Vega-Lite v2, see thedocumentation and take a look at ourexample gallery. Follow us onTwitter at @vega_vis to stay informed about updates.
With Vega-Lite, we can start with abar chart of the average monthly precipitation in Seattle,overlay a rule for the overall yearly average, and have it representan interactive moving average for a dragged region.
Vega-Lite is used by thousands of data enthusiasts, developers, journalists, data scientists, teachers, and researchers across many organizations. Here are some of them. Learn about integrations on ourecosystem page.
The development of Vega-Lite is led by the alumni and members of theUniversity of Washington Interactive Data Lab (UW IDL), includingKanit “Ham” Wongsuphasawat (now at Databricks),Dominik Moritz (now at CMU / Apple),Arvind Satyanarayan (now at MIT), andJeffrey Heer (UW IDL).
Vega-Lite gets significant contributions from its community. Please see thecontributors page for the full list of contributors.