Session Ready
Exercise

Size & Alpha (Scatter Plot) 2

In this exercise, you will use both the alpha and size attributes to modify the previous figure.

Note that:

  • rbokeh, dplyr and fivethirtyeight are pre-loaded.
  • dat_80_13 dataframe is available from the previous session, a subset of the bechdel dataset including entries for movies produced between 1980-2013
  • roi_total variable is calculated and available in the dat_80_13 dataframe
Instructions
100 XP
  • Using dat_80_13 dataframe, create a scatter plot with log(roi_total) versus log(budget_2013).
  • Set point size to 5.
  • Set line_alpha to 0 and fill_alpha to 0.3.