CommencerCommencez 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

<cours>Intermediate Interactive Data Visualization with plotly in R</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

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