CommencerCommencer gratuitement

Histograms

In this exercise, you'll use plotly to create a histogram from scratch in order to explore the distribution of the critic scores of video games sold between 1980 and 2016. The data are contained in the Critic_Score variable in the vgsales data frame.

As you complete this exercise, think about how the bins influence what you see in the distribution of critic scores.

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 histogram of Critic_Score
vgsales %>%
	plot_ly(x = ___) %>%
	___()				  
Modifier et exécuter le code