# Plotly.js performance in dashboard with multiple plots

**URL:** <https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271>\
**Category:** plotly.js\
**Created:** [June 27, 2018, 7:40pm UTC](https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271 "2018-06-27T19:40:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwanxyz](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kwanxyz](https://community.plotly.com/u/kwanxyz)\
**Post date:** [June 27, 2018, 7:40pm UTC](https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271/1 "2018-06-27T19:40:16Z")

</div>

Hi,

I am trying to create a dashboard using plotly.js with multiple plots contains around 100k data points in each one. These plots all need to communicate to each other to select common data points. For example, after manually making a selection in one plot, the other plots need to restyle and update the same data points. I calculated the time it takes to restyle a plot is around 2 seconds and with 10 plots, it sits idle for around 20 seconds while each plots updates.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/8/8e9785bea76881c53d0a8b511fcad556114b5829.jpg)

any advice is greatly appreciated.

Jason

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [June 27, 2018, 9:19pm UTC](https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271/2 "2018-06-27T21:19:25Z")

</div>

Would you mind sharing a reproducible example or a snippet of your work to help us help you?

Without additional info, there’s not much we can tell you other than using `scattergl` instead of `scatter` for your scatter points.

---

<div class="post-metadata">

**Author:** ![kwanxyz](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kwanxyz](https://community.plotly.com/u/kwanxyz)\
**Post date:** [June 29, 2018, 5:54pm UTC](https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271/4 "2018-06-29T17:54:53Z")

</div>

thank you…I noticed a significant boost to the performance by just changing it from scatter to scattergl. However, I was wondering if there is a way to remove the selection box right after a selection is made on a graph?

---

<div class="post-metadata">

**Author:** ![visual](https://avatars.discourse-cdn.com/v4/letter/v/ee7513/32.png) [@visual](https://community.plotly.com/u/visual)\
**Post date:** [February 27, 2019, 7:17am UTC](https://community.plotly.com/t/plotly-js-performance-in-dashboard-with-multiple-plots/11271/5 "2019-02-27T07:17:56Z")

</div>

Hi, Jason  
Would you mind telling me how to communicate to each other to select common data points?
