Hi,
I have a data source: source = ColumnDataSource(data) as a list of dicts in this schema:
[
{
‘x’: int,
‘y’: int,
‘attribute’: str,
‘value’: float,
‘year’: int
},
…
]
and I want to make scatter plot with a slider for selecting each year interactively.
I understand basic interaction workflow as in Making Interactions — Bokeh 2.4.2 Documentation
However I can not see how to reduce source data to specific year in scatter plot:
plot.scatter(‘x’, ‘y’, source=source)
nor, how to make javascript callback function that would filter this data on a specific year. Yep.
Can I get some pointers how to do it (without using flask server)?

