A rug chart in R with ggplot2's geom_segment showing latitudinal temperature anomalies (CC228)

Описание к видео A rug chart in R with ggplot2's geom_segment showing latitudinal temperature anomalies (CC228)

Pat uses R to create a rug chart using ggplot2's geom_segment function and then sylizes the heck out of it to try to match an animated version of the same figure from GISS at NASA. The result is a very cool visualization of annual latitudinal temperature anomalies over the past 140+ years. He also makes use of tools from the dplyr, ggplot2, and other packages from the tidyverse. The data depicted are the average annual temperature anomalies by latitude using NASA's GISS data. All of this is done in R with the help of RStudio.

You can find my blog post for this episode at https://www.riffomonas.org/code_club/....

#geom_segment #rugchart #ggplot2 #Rstudio #climatechange #R #Rstats

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 taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/

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/

0:00 Introduction
2:42 Tidying GISS NASA CSV data
6:22 Creating a rug plot of temperature anomalies
9:49 Formatting appearance of axes
11:24 Implement a dark mode theme
14:53 Indicating the 2021 data with color and size
17:31 Add title and subtitle

Комментарии

Информация по комментариям в разработке