Linking scatterplots
In this exercise, you'll use plotly
and crosstalk
to link a scatterplot of the U.S. Housing Price Index in 2017 (HPI) against the percentage of homeowners to a scatterplot of the 2017 HPI against the employment rate. Both packages have already been loaded, and the data are stored in us2017
.
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 SharedData object from us2017
shared_us <- ___(___)