In last week’s post, we saw how to overlay a choropleth map (polygons) with a scatter map (points) and a roads (linestrings) map. In today’s post, I will use a similar set of data to recreate the map in its static version on Matplotlib.
In the example in this post, I show a more complicated map and explain a different pop-up option.
This example uses a sample of the 1971 Sri Lankan police station data to map which police stations were attacked by rebel groups in the 1971 revolt.
In my work, I found open source shapefiles for Sri Lanka’s provinces, districts, and administrative divisions, but not the country’s polling divisions.
If there are more than one variable, you might want to do a scatterplot of the two that changes over time. In this blog, I demonstrate how to make a bubble plot that reflects the number of registered voters, death count, and voter turnout.
In last time’s blog, we saw how to make a static choropleth map. This time, I overlay the choropleth map on an interactive platform using folium.
My first major mapping project at the University of Chicago is a choropleth map of Sri Lankan Army (SLA) officer deaths between 1981 and 1999.
September 2016 to June 2018
2008 to 2016
January to June, 2014
July 2015 to August 2016