Week 2
Design variables and the grammar of graphics
Prepare
Participate
Practice
Perform
Ponder
Essential Readings
Wilkinson, L. (2005). The Grammar of Graphics, Chapters 1-2
Wickham, H. (2010). “A Layered Grammar of Graphics”, Journal of Computational and Graphical Statistics
Additional Resources
Review examples of effective use of visual variables in data visualization
Footnotes
ggplot2 is R’s powerful data visualization library based on the Grammar of Graphics, enabling users to build complex, layered plots declaratively through aesthetic mappings, geometric objects, and flexible customization options.↩︎
plotnine is Python’s implementation of R’s ggplot2, providing Grammar of Graphics-based visualization capabilities. It offers familiar syntax for R users, enabling declarative plot construction through layered components, aesthetics, and geometries for elegant data visualization.↩︎