Download data underlying holoviews/bokeh plot

Hi @Marc , @mshevelev,

I was thinking about this the other day, what if you just wanted to download the data that is being shown in the graph rather than all the points out of view? I mean perhaps not the whole data frame but just the zoomed in portion? I have a feeling may be possible using tools related to stream, like tap or selection but I’ve not explored this, I’ve used to plot a graph from the tap to the right so I imagine it’s possible to grab the data in a callback and save with another button perhaps.

The above thought appears correct with the following links that may be useful and another example from Marc, thanks:

box select to return filtered dataframe
Holoviews BoundsX tool
filter tabulator post - could be useful

1 Like