Black Lives Matter. Please consider donating to Black Girls Code today.

How to share a graph without showing the data?

I need to generate PNG graph and share it publicly without showing the actual data. The graph shows only the trend. Can I hide the Data tab when sharing public graph? All I need is an image.

Hi there,
Have you seen our tutorial on generating static images? https://plot.ly/python/static-image-export/

Hey,

Thanks for this. I don’t want to serve images from my server. Using Jupyter Notebook is an option but a bit too much for what I want to do. Your service is really great. Please consider allowing to hide data tab and share only a graph.

1 Like

You have the option to append .png to the end of your plot urls (hosted) on Plotly to view the static image: https://plot.ly/~chelsea_lyn/13116.png

You also have the option to embed your graph and remove the edit chart link to avoid people going back to view the data: http://help.plot.ly/embed-graphs-in-websites/#customizing-the-iframe

If those options aren’t helpful, I may be unclear on what exactly you’re trying to accomplish, but it’s unlikely we would remove the data tab from the shareplot view.

Yes, this link (https://plot.ly/~chelsea_lyn/13116.png) is what I need. But the problem is that anyone having this link can then go to https://plot.ly/~chelsea_lyn/13116/#data and see the data that was used to generate the graph.

I’d love the option where I can make public only PNG link or only EMBED link but not the graph’s “home page” (https://plot.ly/~chelsea_lyn/13116)

I hope it makes sense

1 Like

Yes, you will be able to see the data that is displayed in the graph. We don’t have an option of hosting your image (publicly) but not the data displayed in the image.