Plotly on Edge Device

Hi,

I am using deploying a website on an edge device and using Plotly.js as the charting library. The only chart(s) I am using are line charts with streaming data. Is there a good way to strip out only what I need from plotly-latest.min.js? It’s not a HUGE deal, but Plotly is by far the largest file in my directory and I’d like to conserve the limited disk space on the device as much as possible. Thank you!

https://github.com/plotly/plotly.js#modules is a good place to start.

1 Like

Thank you , @etienne! That reduced the size of the file by about 66% with no alteration to functionality.