Themes
Content for Monday, June 17, 2024–Friday, June 21, 2024
Readings
- Chapter 22 in Fundamentals of Data Visualization (Wilke 2018)
- Clara Granell, “ggplot2 Theme System Cheatsheet”
- Henry Wang, “ggplot2 Theme Elements Demonstration”
- Andrew Heiss, “Quick and easy ways to deal with long labels in ggplot2”
- Glance through the documentation for ggplot’s complete themes and
theme()
, especially the examples near the bottom
Possible questions to reflect on
Remember, you don’t need to answer all of these—or even any of them! These are just here to help guide your thinking. Write about whatever you want.
- How do the principles of CRAP apply to graph design and other theme elements?
Slides
The slides for this week’s lesson are available online as an HTML file. Use the buttons below to open the slides either as an interactive website or as a static PDF (for printing or storing for later). You can also click in the slides below and navigate through them with your left and right arrow keys.
Fun fact: If you type ? (or shift + /) while going through the slides, you can see a list of special slide-specific commands.
Videos
Videos for each section of the lecture are available at this YouTube playlist.
You can also watch the playlist (and skip around to different sections) here: