gis

Dynamic maps using pandas

Dynamic choropleth maps

Dynamic charts and maps are great for displaying patterns over time. A key challenge with such charts and maps is to keep the mapping of values to colours constant over time. Most charting programs will automatically assign colours depending on the range and number of different values available. This is problematic when both of those factors vary over time, even though we want the colours representing a particular value or level to remain constant. I have added a feature to Jack McKew’s excellent pandas-alive dynamic charting program to make this possible for choropleth maps, and provide a sample notebook applying this feature to an over-time mapping of Covid case- and death rates (using the New York Times data).