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.
Cet exercice fait partie du cours
Intermediate Interactive Data Visualization with plotly in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Create a shared data object keyed by region
shared_region <- ___(___, ___)