Connection Map
A connection map allows to show the connection between several positions on a map. The link between 2 places can be drawn with a straight line, or more commonly using great circles: the shortest route between them. The earth being a sphere, it results in arcs that give a really pleasant look to the map.
Background map with Basemap
Basemap is probably the best option to draw a connection map with python. It provides a function called drawgreatcircle() that draws the connection using great circles. Great circles are arcs that gives a better appearance than straight lines.
Most basic connection map with Python and Basemap.
Show connection between a few cities with great circles.
This is the result when you visualize the connection between 7 major world cities:
A connection map between 7 cities made with Python and Basemap
💡 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.