Jupyter-specific features

Jupyter environments offer unique opportunities for two-way data interaction, sharing data between the Python backend and visualization in deck.gl.

To use a visualization with these features, call pydeck.bindings.deck.Deck.show() on the pydeck.bindings.deck.Deck object rather than pydeck.bindings.deck.Deck.to_html().

  • Binary data transfer. For certain data sets pydeck can support many millions of points by using Jupyter’s socket-level communication. Further documentation is here.

  • Data selection. Data can be selected within a pydeck visualization and pushed back to the client. Holding Command while clicking allows the user to select multiple points.

Selecting data in Jupyter

Interactive examples for these features are available on mybinder.org. Click the Binder logo below: