Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

1.6 KB
Raw Blame

kepler.gl for Jupyter

Upgrading from v0.3.x? keplergl v0.4 switched to anywidget — no JupyterLab extension install is needed anymore. Just pip install keplergl and go.

If you are pinned to v0.3.x, the old setup was:

pip install "keplergl<0.4"
jupyter labextension install @jupyter-widgets/jupyterlab-manager keplergl-jupyter

JupyterLab 1–3 with Node > 10 was required. The old docs are preserved in git history.

kepler.gl for Jupyter is an advanced geospatial visualization widget for rendering large-scale interactive maps in Jupyter Notebook and JupyterLab.

Documentation

Quick Start

from keplergl import KeplerGl

# Create a map with some data
import pandas as pd
df = pd.DataFrame({
    'City': ['Buenos Aires', 'Brasilia', 'Santiago'],
    'Latitude': [-34.58, -15.78, -33.45],
    'Longitude': [-58.66, -47.91, -70.66]
})

map_1 = KeplerGl(height=400, data={'cities': df})

# Display the map
map_1