Grammar of Graphics
Table of Contents
The Grammar of Graphics is a book by Leland Wilkinson that gives a vocabulary/grammar for creating visualizations.
Some libraries that follow the GoG approach are:
- Vega Lite: A Grammar of Interactive Graphics - Wongsuphasawat, Moritz, and Satyanarayan: https://www.youtube.com/watch?v=9uaHRWj04D4
- ggplot2 [R]
- seaborn [Python]
See also:
1. Hierarchy of Graphic Elements
https://www.practicaldatascience.org/notebooks/class_5/week_1/2.3.1_plotting_with_seaborn.html
- Position
- Size
- Color
- Shape
To encode the information we care about most use Position and then size, and so on.
2. Grammar of Graphics in Seaborn
Use the object interface of Seaborn. The api is composable and more intuitive.