Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
kepler.gl for Jupyter
Upgrading from v0.3.x?
keplerglv0.4 switched to anywidget — no JupyterLab extension install is needed anymore. Justpip install keplergland 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-jupyterJupyterLab 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
- Installation – Prerequisites and install instructions
- Widget API –
KeplerGl(),.add_data(),.data - Data Formats – CSV, GeoJSON, DataFrame, GeoDataFrame, WKT
- Map Customization – Theme, app name, and interactive customization
- Save and Load Config –
.config, match config with data - Save and Export Map –
.save_to_html() - FAQ & Troubleshoot – Common issues and demo notebooks
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