Animating the space race
In lesson 1, you create static line charts to explore the space race. In this exercise, you will work through the steps to create an animated version of that chart.
plotly
, dplyr
, tidyr
, and purrr
have been loaded for you.
This exercise is part of the course
Intermediate Interactive Data Visualization with plotly in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Complete the state_launches data set
annual_launches <- state_launches %>%
count(launch_year, state_code) %>%
___(___, ___, ___)