CommencerCommencer gratuitement

Bar charts

In this exercise, you'll use plotly to create a bar chart from scratch in order to explore the distribution of the video game genres represented in games sold between 1980 and 2016.

The data for this bar chart is contained in the Genre column of the vgsales data frame.

Note that plotly has already been loaded for you.

Cet exercice fait partie du cours

Interactive Data Visualization with plotly in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Create a frequency for Genre
genre_table <- vgsales %>%
	___ 
Modifier et exécuter le code