Dynamic Bell curve change with dates

Hello, So i have a generated histogram and i want the histogram to change based on selected dates from my data. How do i achieve that?

Thanks!

That’s a very general question. In general, you can update a Bokeh plot by updating the data sources for the glyphs on the plot. This can be done from JavaScript, via CustomJS callbacks, or it can be done from real Python callbacks, in the context of a Bokeh server application. In either case, callbacks can be triggered by all kinds of events, e.g. pushing a button, scrubbing a slider, making a range selection, tapping on the plot, etc. It’s not really possible to say anything more specific without more details.

Check these other post, might be helpful to get some ideas:
(Interactive Histograms not updating with sliders)

1 Like