Animating Spatial Movement in Python

How to turn an origin-destination matrix into a mesmerizing animation

Håvard Wallin Aagesen
Towards Data Science
6 min readNov 23, 2023

--

Static map of movements from bike sharing data. Image by author.

Spatial data is inherently visual, and the advances in visualizing (geo-)spatial data in Python has made it very easy to quickly plot maps of all shapes and forms. Even creating animations of charts and simple maps is quite easily possible. Choropleth maps in particular, with static…

--

--