Vega-Lite: A Grammar of Interactive Graphics
Stanford University · University of Washington
Abstract
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…
Citation impact
- FWCI
- 24.67
- Percentile
- 100%
- References
- 33
Authors
4Topics & keywords
- Vega
- Computer science
- Programming language
- Grammar