code: def select_click(attr, old, new):
      active_select = select.value  ##Getting radio button value
  
      # filter the dataframe with value in select
      if active_select != "All":
          selected_df = df[df["label"] == active_select]
      else:
          selected_df = df.copy()
  
      source.data = dict(
          x=selected_df.x, y=selected_df.y, label=selected_df.label
      )
  
imports: import pandas
  from bokeh.io import curdoc
  from bokeh.layouts import row
  from bokeh.models import ColumnDataSource, Select
  from bokeh.plotting import figure
label_desc: Use image node_id 1 for calling a global function with example usage: select_click(attr, old, new) without return types