MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Interactive Data Visualization with plotly in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Create a histogram of Critic_Score
vgsales %>%
	plot_ly(x = ___) %>%
	___()				  
Edit dan Jalankan Kode