1. Learn
  2. /
  3. Courses
  4. /
  5. Interactive Data Visualization with plotly in R

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Create a scatterplot showing Critic_Score on the x-axis and User_Score on the y-axis for PS4 games. Name the trace for the platform and store this plot as p1.