Exercise

Big shooters

Traditionally, the tallest basketball players are in the center position, and they primarily shoot close to the basket. However, there has been a trend towards all positions shooting more three-point field goals in recent years.

The agency has a scatter plot visualizing "three_point_perc" versus "field_goal_perc" for centers and power forwards in the NBA. The dataset has been filtered for each position, and Bokeh source objects named centers and power_forwards have been preloaded for you. TOOLTIPS has also been created to display player names and average points per game.

The agency has asked you to change the plot's glyph settings to aid interpretation.

Instructions

100 XP
  • Update the glyph attribute of center_glyphs and power_forward_glyphs to 20 pixels and 10 pixels, respectively.
  • Update the fill color attribute of center_glyphs and power_forward_glyphs to red and yellow, respectively.