Liveplotting a function of a ColumnDataSource

I think you are asking if Bokeh has features to automatically compute and display summary statistics or other derived quantities? If so, the answer is no, you need to compute those things, yourself. This recent answer in another thread seems relevant

Since you are already using Python the very simplest thing to do is just compute those things in your callback, and update (other) ColumnDataSource objects that drive glyphs that display those things. It’s almost certainly possible to figure out something that does the computations with a CustumJS but I don’t see what that effort would gain you here.