✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Is it possible to compress Plotly graphs when we export them as HTML?


I want to export a graph that I made with Plotly (on R) by saving it as Web Page.

My graph is very heavy (because I use a select button for 1000 values), the size of my HTML is 21Mo.

The developer who is trying to import it on the website is asking me whether I can compress it while exporting it.

Do you know if it’s possible on RStudio ? Or another way ?