Pat recreates a figure from the New York Times's UpShot showing the change US kindergarten vaccination rates over the past 13 years using tools from dplyr and ggplot2. The functions he uses from these packages include annotate, coord_cartesian, element_text, filter, geom_hline, geom_line, geom_point, geom_text, ggsave, labs, margin, mutate, read_csv, scale_color_manual, scale_fill_manual, scale_x_continuous, scale_y_continuous, select, theme, theme_classic, tribble, and unit. You can find the data and code he developed in this episode at https://www.riffomonas.org/code_club/2025-01-27-vaccination-line. The original NYT news article is available at: https://www.nytimes.com/interactive/2025/01/13/upshot/vaccination-rates.html. Pat's newsletter describing how he would go about generating the figure can be found at https://shop.riffomonas.org/posts/data-visualization-as-a-vaccination-against-ignorance. The csv file can be downloaded from https://data.cdc.gov/Vaccinations/Vaccination-Coverage-and-Exemptions-among-Kinderga/ijqb-a7ye/about_data. If you have a figure that you would like to see me discuss in a future newsletter and episode of Code Club, email me at [email protected]! Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights. If you're interested in purchasing a video workshop be sure to check out https://riffomonas.org/workshops/ Support Riffomonas by becoming a Patreon member! https://www.patreon.com/riffomonas You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ If you want to cite this video, please consider citing https://journals.asm.org/doi/10.1128/mra.01310-22 0:00 Introduction 6:51 Get data into R and in correct format 13:47 Construct line plot with dots, titles, and labels 15:03 Formatting x and y-axes 25:53 Match color and size of lines and points 27:54 Add 95% threshold line with annotation 31:06 Add colored line labels in margin 41:50 Clean up appearance to match NYT figure