folium lets you prepare data in Python and display it on interactive Leaflet.js maps. It bridges Python data work with web map visualization.
Overview
folium builds on Python’s data ecosystem and Leaflet.js mapping. You manipulate datasets in Python, then bind values to a map or add overlays through the library instead of hand-writing map JavaScript.
Documentation describes choropleth-style binding of data to regions and support for rich vector, raster, and HTML markers. Built-in tile sets include OpenStreetMap and Mapbox-style sources, with room for custom tilesets. Overlays can use images, video, GeoJSON, and TopoJSON, plus bundled vector layers.
Install paths mentioned are pip and conda-forge. The library is positioned for analysts and developers who already work in Python and want an interactive map output without maintaining a separate front-end map stack for exploratory views.
Generated maps are Leaflet-based interactive pages; folium itself is imported into Python scripts or notebooks rather than used as a standalone desktop app.
Key features
- Python to Leaflet map bridge
- Choropleth data binding
- GeoJSON and TopoJSON overlays
- Built-in tileset presets
- Custom tileset support
- Image and video overlays
- Vector layer helpers
- pip and conda installation
Use cases
- Visualizing tabular data on maps
- GeoJSON exploration in Python
- Interactive maps in notebooks
- Choropleth thematic maps