Visualize · Week 11

Visualization: Relationships + Time

Finish comparing categorical distributions, then use scatterplots and time trends to explore relationships and communicate evidence.

Nov 2–6Lectures 7–8 · Classworks 12–15
ImportantStart here this week

Begin with Lecture 7, slide 30: Distribution of a categorical variable, and work on Classworks 12 and 13. Then begin Lecture 8: Data Visualization II and work on Classworks 14 and 15.

Focus

  • Categorical counts and proportions
  • Relationships between numeric variables
  • Time trends and visual evidence

Prepare

  • Resume Lecture 7 at slide 30
  • Open Classworks 12–15
  • Have Lecture 8 ready

Practice

  • Compare categories within and across groups
  • Describe patterns in scatterplots
  • Read and communicate trends over time

Learning targets

  • Use geom_bar() and geom_col() to display categorical counts.
  • Compare categorical distributions across groups with stacked, side-by-side, and proportional bars.
  • Describe direction, shape, and unusual observations in a scatterplot.
  • Use color or facets to compare groups and interpret patterns over time.
  • Explain a visual finding and its limitations without treating association as proof of causation.

Lecture slides

TipLecture slide shortcuts

Click inside the slide preview, then use:

  • the visible ←/→ controls to page through the slides;
  • your mouse wheel or trackpad to keep scrolling the weekly page;
  • M to open the menu;
  • F to enter fullscreen;
  • E to enter or exit PDF export mode;
  • Ctrl + Shift + F to search within the slides;
  • Esc to exit the menu or fullscreen; and
  • T to switch between dark and light mode.
Lecture 7 · Data Visualization I · start at slide 30: Distribution of a categorical variableView slides in new tab
Lecture 8 · Data Visualization II: Relationships and Time TrendsView slides in new tab

This week’s materials

Back to top