I am working on a panel where users can create their own visualizations (with plotly.js). Sometimes the complexity of these visualizations leads to a long rendering time, which leads to freezing the browser user interface.
I have already created web workers for other tasks in my dashboard. Maybe there is a way to visualize plotly.js charts in a web worker and return them to the main stream?
I know that web workers do not have the DOM / Canvas feature. But maybe there is a trick or do you know the best way to prevent GUI freezing? Maybe outsourcing rendering to a server with phantomjs (I never used it, so just assume that it can work with pjs).
javascript web-worker plotly
DaTebe
source share