I am trying to display a Scatter Mapbox on my browser using Dash. When the number of points to be plotted on the map are low in number, the load time is fast and it is responsive. As I keep adding more and more points, the performance is slowing down to a crawl. (I am planning to plot around 490,000). Is there a way I can improve the responsiveness?
Note: I am not performing any operations (like joins, aggregation, etc) on the dataset too. I have a CSV file with addresses and their coordinates and a couple of other columns.
Another option would be to use point clustering. I am currently working on a new clustering component for Dash Leaflet, which should be able to handle the 490k points without sacrificing responsiveness
I understand that nobody would want to see 490K points at once, but, and correct me if I am wrong, my belief is that the application shouldn’t slow down to that extent.
I will check the two techniques you’ve suggested and check which works for me.