question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better big data support for `scattermapbox`

See original GitHub issue

We’re getting Dash apps through the roof that use scattermapbox. Would be nice <strike>to see how far we can push the # of points with a WebGL overlay instead of an SVG one</strike> to improve big data support for scattermapbox traces.

Maybe we could investigate: https://github.com/vicapow/react-map-gl-stack-gl-overlay-example

This plot of 🌳 s in Manhattan for example is starting to push the mapbox-gl limits:

https://plot.ly/~jackluo/444

/cc @jackwluo @dfcreative

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
etpinardcommented, Jul 17, 2017

I think you mean the mapbox-gl limits? scattermapbox renders all things in using mapbox-gl which uses purely WebGL. No SVG whatsoever here. Editing ⤴️ accordingly.

I think we should investigate other pure mapbox-gl solutions before doing this:

  1. find what are those pure mapbox-gl limits i.e. try to plot the as many as possible using only mapbox-gl (not via the plotly.js wrapper)
  2. plotly.js uses mapbox-gl@0.22.1, which more than 10 minor versions behind the mapbox-gl latest, so we should test bleeding edge mapbox-gl to see if the rendering better
  3. try mapbox-gl clustering.
0reactions
etpinardcommented, Feb 13, 2018

https://github.com/plotly/plotly.js/pull/2361 will improve scattermapbox performance significantly.

Closing this thing (for now).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scatter plots on mapbox in Python
Detailed examples of Scatter Plots on Mapbox including changing color, size, log axes, and more in Python.
Read more >
Meet Plotly Mapbox. Best Choice for Geographic ...
I have come across several projects that include geographic data, and I have been searching for the best tool for geo-visualization.
Read more >
Visualize Geographic Data on Python using Scatter_mapbox
But ever wondered if we were to visualize these data in a geographical context and perhaps that might help to draw some spatial...
Read more >
Scatter Mapbox Example with Plotly and OpenStreetMap
Making interactive maps can be a challenge, but there are some great libraries and other cool stuff that can make things much easier...
Read more >
Size of bubbles in plotly.express.scatter_mapbox
Now the result looks better: ... The size was not noticeable due to the similarity of the data subject to the size.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found