CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Intermediate Interactive Data Visualization with plotly in R</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# filter out the 2017 data
us_economy %>%
  ___(___ == ___)
Modifier et exécuter le code