IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Interactive Data Visualization with plotly in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Create a histogram of Critic_Score
vgsales %>%
	plot_ly(x = ___) %>%
	___()				  
Modifica ed esegui il codice