Data Visualization with ggplot2

Author
Affiliation

Department of Cell Biology, OUHSC

Published

July 10, 2025

Pre-lecture activities

Before class, read chapter 4 titled “Visualizing Data in the Tidyverse” from the Tidyverse Skills for Data Science Book by Carrie Wright, Shannon E. Ellis, Stephanie C. Hicks, and Roger D. Peng.

Reading: Visualizing Data in the Tidyverse

For more examples, you can checkout a YouTube video series on ggplot from Dr. Lace Padilla.

  1. Mastering ggplot2 in R [17 min]
  2. Mastering Axes in ggplot2 [16 min]
  3. Color Magic in ggplot2 [12.5 min]
  4. Mastering Facet_Wrap in ggplot2 [15 min]

Lecture

Learning objectives

Learning objectives

At the end of class you will be able to:

  • Distinguish between good and bad plots
  • Match the type of plots with the type of data input
  • List the features of the grammer of graphics
  • Build complex graphics in ggplot2

Slides

Post-lecture Practice