filmov
tv
Creating the NASA GISS animated climate spiral in R (CC220)
Показать описание
In this episode Pat will use R to adapt a figure made by one creator to look like one made by another creator. He'll share his thought process for thinking about what code needs to be adapted to achieve the desired effect. This will all be done using animated climate spirals of monthly temperature anomalies by month using NASA's GISS data using tools from the ggplot2 and gganimate R packges. This figure shows the deviation in annual global mean temperatures from the normalized temperatures of 1951 to 1980 as a line plot. The lines are colored according to the size of the temperature anomaly. He uses transition_reveal, transition_manual, coord_polar, geom_line, scale_color_viridis_c, and a smattering of arguments from the theme function to create this provocative visual. All of this is done in R with the help of RStudio.
#ggplot2 #gganimate #Rstudio #climatechange #R #Rstats
You can also find complete tutorials for learning R with the tidyverse using...
0:00 Introduction
6:02 Change apperance of background
7:47 Remove title
8:40 Reformat month labels
12:25 Change color to be by temperature rather than year
15:36 Modifying appearace of gridlines
20:08 Adjusting the limits along the radius
21:19 Adjusting the gaps in the gridlines
24:32 Animating visualization
#ggplot2 #gganimate #Rstudio #climatechange #R #Rstats
You can also find complete tutorials for learning R with the tidyverse using...
0:00 Introduction
6:02 Change apperance of background
7:47 Remove title
8:40 Reformat month labels
12:25 Change color to be by temperature rather than year
15:36 Modifying appearace of gridlines
20:08 Adjusting the limits along the radius
21:19 Adjusting the gaps in the gridlines
24:32 Animating visualization
Комментарии