Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Interactive Data Visualization with plotly in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a histogram of Critic_Score
vgsales %>%
	plot_ly(x = ___) %>%
	___()				  
Code bewerken en uitvoeren