Cartogram
A cartogram is a map in which each region size is distorted according to a numeric variable. Python allows to draw this kind of map thanks to the Geopandas and Geoplot libraries
😔 Cartogram with Python
Unfortunately, there is no direct method to build cartograms in Python. However, if you need to create one, you can easily build cartograms in R using the cartogram package.
If you have implemented a cartogram algorithm in Python, please share your code with the community by opening an issue on the GitHub repository of the gallery.
The only kind of cartogram implemented in Python is the non-contiguous cartogram that preserves shape but change size. And the good news is that we have a tuto on the Gallery!

Other kind of maps
The gallery provides numerous map examples for you to explore. Browse the examples below:
Choropleth map with customized legend, using Matplotlib and Geopandas
Bubble map of the USA with Matplotlib and Geopandas.
Stacked area charts on a map, with a special grid.
Choropleth map of European counties with Matplotlib and Geopandas
Combine multiple maps together, with a lollipop plot for the legend
Use waffle chart for building a map on London boroughs
Choropleth map combined with a barplot
💡 Out of dataviz inspiration?
I have spent years collecting the most beautiful data visualizations out there. Get the list of my top 300 dataviz projects, hand-picked, for free.
I respect your privacy. Unsubscribe anytime.