LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Intermediate Interactive Data Visualization with plotly in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# filter out the 2017 data
us_economy %>%
  ___(___ == ___)
Code bearbeiten und ausführen