Each class session has an interactive lesson that you will work through after doing the readings and watching the lecture. These lessons are a central part of the class—they will teach you how to use ggplot2 and other packages in the tidyverse to create beautiful and truthful visualizations with R.
Interactive code sections look like this. Make changes in the text box and click on the green “Run Code” button to see the results. Sometimes there will be a button with a hint or solution.
Your turn: Modify the code here to show the relationship between health and wealth for 2002 instead of 2007.