Folium is a Leaflet.js based Python library for generating map visualizations.
It allows Python to easily create complex interactive maps:
- The thickness of the label represents the size of the data
- Polyline plotting GPS tracking data
- Map overlays displaying geographic features
- etc.
The main components of Folium:
- Map: Generates the base map.
map = folium.Map([40, -100], zoom_start=4)
- Markers: Generate markers.
folium.Marker