✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Each chart embedded in website calls plotly.js


I have a web page where I have many plotly charts. I write each chart to html and use iframe or object to embed them in the main html.
Since iframe cannot access parent’s js, every chart loads plotly.min.js which makes the page really slow to load. Any advice?
PS: I need to update the charts hourly for my application so the solution process cannot be too manual.