Download data from plot


Currently the plotly plots give an option to download the plot as png. Is there a way to also add a button to the plot that says: download plot data as csv. In this case for example if it’s a time series it’d allow the user to download the data as date, value in csv format.

What’d be the recommended way to do this?

Thanks in advance!

For now, you’ll need to implement this logic yourself with a download button or link. See Download raw data and Allowing users to download CSV on click for more details.

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