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

Connected

Exercise

Linking a bar chart to a scatterplot

In the lesson, you saw how to link a dotplot of summary statistics to a scatterplot, but you can link other types of charts in a similar way. In this exercise, you will link a bar chart to a bubble chart.

The data are stored in us2017, and plotly and crosstalk have been loaded for you.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Create a SharedData object allowing for selection by division (i.e. subregion). Store this in the shared_div object.