plotly / dash-deck

Bringing deck.gl and pydeck into Dash
https://dash-gallery.plotly.host/dash-deck-explorer/
MIT License
92 stars 19 forks source link

Line-layer demo shows far less data than equivalent deck.gl demo yet both use same data source. #3

Open dazzag24 opened 4 years ago

dazzag24 commented 4 years ago

Hi,

The line-layer demo: https://dash-gallery.plotly.host/dash-deck-explorer/line-layer

Hows far less data than the equivalent deck.gl demo. https://deck.gl/examples/line-layer/

Yet both load and parse the same data source file: https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/line/heathrow-flights.json

Any ideas on why this is the case? I cannot see any obvious cause in the code.

Thanks

Darren

xhluca commented 4 years ago

The line-layer demo comes from this pydeck demo, which also has fewer lines.

I think it's likely caused by picking_radius or get_radius when you define the pydeck layer.

karosc commented 3 years ago

Looks like the demo code shown in pydeck and even deck.gl maybe use a reduced dataset? See #4138 at deck.gl repo