2) Grammar of Graphics I
π About
In this unit youβll get introduced to the "ggplot2" system for making graphics.
π― Objectives
At the end of this unit you will be able to:
Produce simple exploratory graphics with functions from
"ggplot2".Describe the notion of βlayersβ and how to use them for making a graphic with
"ggplot2".Explain the difference between mappings and settings.
Describe the purpose of the aesthetic mapping function
aes().
π Slides
A Grammar of Graphics (google slides)
π» Code
Basic graphics with "ggplot2"
- qmd notebook file
- html file
π Assignment
Reading: The Age That Women Have Babies: How a Gap Divides America by Quoctrung Bui and Claire Cain Miller (Aug-4, 2018, New York Times)
https://www.nytimes.com/interactive/2018/08/04/upshot/up-birth-age-gap.html