Bubble charts
To begin your exploration of the U.S. economic index data set, your task is to create a bubble chart of of the housing price index against real GDP. Further, you will add color to represent the region of the U.S. to explore potential regional clustering.
Throughout this exercise, you will also explore how changing the sizemode
of the marker
argument can help polish the plot.
plotly
, dplyr
, and the us_economy
data set have already been loaded.
Este exercício faz parte do curso
Intermediate Interactive Data Visualization with plotly in R
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# filter out the 2017 data
us_economy %>%
___(___ == ___)