Graphics: Grammar of Graphics, Vega, Oz

The Grammar of Graphics

Building Blocks

Data Input data source to visualize
Transform Filter, aggregation, binning etc.
Mark Data-representative graphics.
Encoding Mapping between data and mark properties.
Scale Functions that map data values to visual values.
Guides Axes and legends that visualize scales.

Vega-Lite

Vega-Lite is inspired by `ggplot` and `Tableau`. In the words of the authors

Vega-Lite: a Grammar of Interactive Multi-View Graphics

Design

  • Single View specification
  • Layered and Multi-View Composition
  • Interaction with Selections

Using

  • Programming
  • Higher-level Tools and Recommendations