Linking a dotplot and a time series plot
Did each region experience a similar downturn in HPI during the "Great Recession"? To start this investigation, link your time series plot from the previous exercise to a dotplot of the average HPI value by region in 2017.
The data are stored in us_economy
, and plotly
and crosstalk
have been loaded for you.
This exercise is part of the course
Intermediate Interactive Data Visualization with plotly in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a shared data object keyed by region
shared_region <- ___(___, ___)