IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Intermediate Interactive Data Visualization with plotly in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# filter out the 2017 data
us_economy %>%
  ___(___ == ___)
Modifica ed esegui il codice