Animating the private space race
In recent years the major players in spaceflight have shifted from government agencies to private companies. In this exercise, your task is to create an animation to explore the evolution of this "new" space race. The data set private_launches
contains the variables:
tag
- launch IDyear
- launch yearagency_code
- agency abbreviationagency_name
- agency nameagency_type
- an establishedprivate
company or astartup
category
- success (O
) or failure (F
) of the launch
plotly
, dplyr
, tidyr
, and purrr
have been loaded for you.
Diese Übung ist Teil des Kurses
Intermediate Interactive Data Visualization with plotly in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Complete the private_launches data set
annual_launches <- private_launches %>%
count(year, agency_name) %>%
___(___, ___, ___)