Exporting data filtered based on user interaction in the GUI

Hi All,

I am looking to give my users the ability to export a subset of the data used in visualizations that they can designate interactively.

For example, the user can filter via drop-down menus to decide what is displayed in the plot and then zoom into the plot. Then, a subset of the dataframe is exported into their working directory, either automatically or at the push of a button, corresponding to what they are seeing in their plot.

I am wondering if this (or at least the drop-down part) is possible and what the best way to go about it would be.

Thanks so much in advance!

Hey @Efidler12, thanks for reaching out! Check out Allowing users to download CSV on click and Download raw data for a couple of solutions.

Thanks for this - I will dive into it!

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online