# Scattergl slow with react

**URL:** <https://community.plotly.com/t/scattergl-slow-with-react/84194>\
**Category:** plotly.js\
**Tags:** question\
**Created:** [May 2, 2024, 10:35am UTC](https://community.plotly.com/t/scattergl-slow-with-react/84194 "2024-05-02T10:35:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![susanfg](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@susanfg](https://community.plotly.com/u/susanfg)\
**Post date:** [May 2, 2024, 10:35am UTC](https://community.plotly.com/t/scattergl-slow-with-react/84194/1 "2024-05-02T10:35:43Z")

</div>

Hello!

I am using plotly in my Python backend to generate three scattergl plots and send them in JSON format to the frontend made with React (using react-plotly.js).  
With 30K data points it works perfect, but with 300K the website does not respond.

Do you know how to optimize the plots so they work with that number of points?
