Trouble Rendering Large Data Sets in Plotly.js - Graph Freezes and Lagging

Hi everyone,

I am working on a project that involves visualizing large data sets (around 100,000+ data points) using Plotly.js. When trying to render these large data sets; the graph either takes a long time to load / freezes completely; causing significant lag in the browser. :thinking:

I have tried optimizing the data by reducing the number of points and switching to WebGL; but the issue still exist . I was wondering if anyone had suggestions for improving performance / best practices when working with large data sets in Plotly.js? I hvae checked Webgl vs svg in JavaScript sfmc documentation guide but still need help .

Below are details –

Browser: Chrome 115

Plotly.js version: 2.24.0

Graph type: Scatter plot

Would appreciate any advice to improve performance!

Thanks in advance. :slightly_smiling_face: