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
.
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 SharedData object from us2017
shared_us <- ___(___)