MulaiMulai sekarang secara gratis

Manual faceting

Recall that the subplot() command allows you to combine charts to create facets (i.e. subplots or small multiples). This is a great way to explore distributions and relationships across factors. In this exercise, you will explore how the relationship between critic score and user score changes (or stays the same) across platform.

Note that plotly and dplyr have 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 scatterplot of User_Score against Critic_Score for PS4 games
p1 <- vgsales2016 %>%
   ___(Platform ___) %>%
   plot_ly(___, ___) %>% 
   ___(name = ___)
Edit dan Jalankan Kode