CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Intermediate Interactive Data Visualization with plotly in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Complete the state_launches data set
annual_launches <- state_launches %>%
  count(launch_year, state_code) %>%
  ___(___, ___, ___)
Modifier et exécuter le code