dash-deck icon indicating copy to clipboard operation
dash-deck copied to clipboard

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

Open dazzag24 opened this issue 5 years ago • 2 comments

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

dazzag24 avatar Sep 25 '20 14:09 dazzag24

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.

xhluca avatar Oct 28 '20 17:10 xhluca

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

karosc avatar Feb 12 '21 16:02 karosc