# Slow render in scattermapbox

**URL:** <https://community.plotly.com/t/slow-render-in-scattermapbox/38512>\
**Category:** plotly.js\
**Created:** [April 27, 2020, 9:35pm UTC](https://community.plotly.com/t/slow-render-in-scattermapbox/38512 "2020-04-27T21:35:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shmaram](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@shmaram](https://community.plotly.com/u/shmaram)\
**Post date:** [April 27, 2020, 9:35pm UTC](https://community.plotly.com/t/slow-render-in-scattermapbox/38512/1 "2020-04-27T21:35:35Z")

</div>

Hi

I have a data with 3200 points in a US map, each point is described bellow.  
the render time of all the point on the map takes a long time (more then a few minutes).  
any idea how can improve the performance? do you know if there is a limit on the amount of points to render?

{  
type: ‘scattermapbox’,  
mode: ‘markers’,  
name: ‘’,  
lat: [row.Y],  
lon: [row.X],  
customdata: [  
{  
label: row.Combined\_Key,  
CC: row[cc\_parameter\_name],  
metric: metricLabel  
}],  
marker: {  
color: [parseFloat(row[metricLabel]).toFixed(2)],  
colorscale: ‘Portland’,  
cmin: bottomPercentile,  
cmax: topPercentile,  
reversescale: metricValue === ‘DT’,  
opacity: 0.9,  
size: [row[cc\_parameter\_name]],  
sizemode: ‘area’,  
sizeref: 150  
}  
}
