Vega-Lite: A Grammar of Interactive Graphics
By Arvind Satyanarayan, Dominik Moritz, Kanit Wongsuphasawat, Jeffrey Heer. 2018
982 citations recorded by the source corpus.
We present Vega-Lite, a high-level grammar that enables rapid specification of interactive data visualizations. Vega-Lite combines a traditional grammar of graphics, providing visual encoding rules and a composition algebra for layered and multi-view displays, with a novel grammar of interaction. Users specify interactive semantics by composing selections. In Vega-Lite, a selection is an abstraction that defines input event processing, points of interest, and a predicate function for inclusion testing. Selections parameterize visual encodings by serving as input data, defining scale extents, or by driving conditional logic. The Vega-Lite compiler automatically synthesizes requisite data flow and event handling logic, which users can override for further customization. In contrast to existing reactive specifications, Vega-Lite selections decompose an interaction design into concise, enumerable semantic units. We evaluate Vega-Lite through a range of examples, demonstrating succinct specification of both customized interaction methods and common techniques such as panning, zooming, and linked selection.
Subfields: Computer Graphics and Computer-Aided Design, Computer Vision and Pattern Recognition, Sociology and Political Science, Human-Computer Interaction
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Computer Graphics and Computer-Aided Design
In Computer Vision and Pattern Recognition
- Jeffrey Heer
- Dominik Moritz
- Bill Howe
- Kanit Wongsuphasawat
- Jock D. Mackinlay
- Anushka Anand
- Felix Ouk
- Zening Qu
In Sociology and Political Science
In Human-Computer Interaction
Citations in the corpus
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts (2021, methodology): “For example, the •original visualization (using VegaLite specifications [57]) in Figure 7 has a single violation, i.”
- Formalizing Visualization Design Knowledge as Constraints: Actionable and Extensible Models in Draco (2018, methodology): “We plan to extend the model to transformations such as filtering and sorting, and incorporate Vega-Lite’s interaction primitives [52].”
- RAWGraphs: A Visualisation Platform to Create Open Outputs (2017, methodology): “However, the cited tools use visual grammars that encode data directly to the visual properties of single graphical elements [5].”
- Voyager 2: Augmenting Visual Analysis with Partial View Specifications (2017, methodology): “A specification in CompassQL (spec) has a similar structure to a Vega-Lite unit specification [24], but allows replacing concrete values with enumeration specifiers (or “wildcards”), indicating that certain properties should be determined by the query engine.”
- Triangulating Python Performance Issues with Scalene (2022, methodology): “The web UI, written in JavaScript, uses Vega-Lite to generate its visualizations, including bar graphs, pie charts, and the line graphs used for visualizing memory consumption over time [38].”