1 min read

Session 6

Lab

  1. Use this dataset to create a bar chart with the number of minutes each player of the Houston Rockets played during the regular season. Put the name of each player in the y-axis and order them by the amount of minutes played.

  2. Use this dataset to create a scatter plot of Offensive Pace vs. Defensive Pace for the Boston Celtics, Cleveland Cavaliers, Golden State Warriors and the Houston Rockets.

  3. Use this dataset to recreate this plot using theme_minimal():

  4. Use this dataset to create a plot that compares the evolution of athletes heart_rate accross different training sessions. Each training session is identified by the idx column. Remember to set different scales with the scales="free" argument to facet_wrap.