In this lesson you will implement linked selections in your visualization. Allowing a selection made on one plot to be reflected on others. To see how this works, the next visualization will contain two scatter plots: one that shows the 76ers’ two-point versus three-point field goal percentage and the other showing the 76ers’ team points versus opponent points on a game-by-game basis.
The goal is to be able to select data points on the left-side scatter plot and quickly be able to recognize if the corresponding datapoint on the right scatter plot is a win or loss.
You will first edit the file read_nba_data.py
to create a very similar DataFrame to that from the last example.
For additional details on linking plots can be found at Linking Plots in the Bokeh User Guide.
File: read_nba_data.py