IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Intermediate Interactive Data Visualization with plotly in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Complete the state_launches data set
annual_launches <- state_launches %>%
  count(launch_year, state_code) %>%
  ___(___, ___, ___)
Modifica ed esegui il codice