A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python-graph-gallery.com/bubble-map below:

Website Navigation


Bubble Map | Python Graph Gallery

A bubble map uses circles of different size to represent a numeric value on a territory. It displays one bubble per geographic coordinate, or one bubble per region. As for background maps, several python libraries are useful to build them: folium, geopandas, geoplot and basemap are listed here.

Bubble map with Folium

Folium is a wrapper of the leaflet.js javascript library. Once you understood how to initialize an interactive map with it, you can parse a data frame of coordinates and add markers to the map with functions like Circle() and ..()

It is also possible to add any other kind of markers instead of circles. This is what you get with the default folium.Marker() function:

And this is what you can build by passing some html to the marker and popup parameters:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4