1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Interactive Data Visualization with plotly in R

Connected

Exercise

Linking for group selection

Have the length and diameter of the launch vehicles changed over time? One way to answer this question is to create an animation. Another approach is to link a chart representing time to a chart displaying the length and diameter of the launch vehicles. In this exercise, you will link a bar chart representing the number of launches over the years to a scatterplot of diameter against height.

plotly, crosstalk, dplyr, and the lv data set have been loaded for you.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Create a SharedData object allowing the launch_year to act as the key. Store this object in the shared_year object.