LoslegenKostenlos loslegen

Boxplots

In this exercise, your task is to create a boxplot of global video game sales (the number of units sold) for each genre. Does genre appear to be related to sales?

Be sure to explore what hover information is given by default.

Note that plotly has already been loaded for you.

Diese Übung ist Teil des Kurses

Interactive Data Visualization with plotly in R

Kurs anzeigen

Anleitung zur Übung

  • Create side-by-side boxplots with Global_Sales on the x-axis and Genre on the y-axis.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Filter out the 2016 video games
vg2016 <- vgsales %>%
	filter(Year == 2016)

# Create boxplots of Global_Sales by Genre for above data
___ %>% 
  ___ %>%
  ___
Code bearbeiten und ausführen