R Intro - Visualization with ggplot2 (Winter 2025)
R is an open-source programming language for statistical computing and graphics. R is extensible, and has a large collection of high-quality user contributed packages that provides easy tools for common data analysis tasks.
In this workshop we will learn ggplot2, a powerful R package for visualization.
“ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics. You provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.” – ggplot2 document
Workshop Materials
- Slides
- Notebook:
- Reading: Section Visualize (Chapter 10, 11, and 12) in R for Data Science (2e)
Resources
- Learning
- R Graphics Cookbook
- ggplot2: Elegant Graphics for Data Analysis
- Fundamentals of Data Visualization (visualization theory but R code available here)
- The R Graph Gallery
- ggplot2 Cheat Sheets
- Inspiration
- Tanya Shapiro’s github gallery, site, and talks
- Fronkonstin
- Data Imaginist
Back to TDMDAL Computing Page