Massachusetts Institute of Technology
This post shows how to use Matplotlib to create a static map that overlays major road networks, types of police stations attacks, and a choropleth map of Sri Lanka Freedom Party's (SLFP) vote share in the 1970 parliamentary election. This is a static version of the interactive map introduced last week.
This post shows how to use Folium to produce an interactive pop-up map that overlays a choropleth map (polygons) with a scatter map (points) and a line (linestrings) map. We will overlay a dataset of major road networks with our old dataset on police station attacks and Sri Lanka Freedom Party's (SLFP) vote share in the 1970 parliamentary election.
This post shows how to use Plotly and Mapbox to produce a scatter map using a sample of Sri Lankan police station data to map which police stations were attacked by rebel groups in the 1971 revolt.
This post introduces how to use open source softwares and resources that allow researchers to merge administrative divisions into polling divisions. This is useful when there are no ready-made open source shapefiles and researchers need to create their own shapefiles based on existing ones.
This post produces an interactive Gapminder-like plot with Plotly and Pandas. I demonstrate how to make a bubble plot that show the number of registered voters, Sri Lankan Army officer death count, and voter turnout.
This post goes over how to do interactive maps with pop-up function using Folium, continuing with the example of Sri Lankan Army (SLA) officer deaths shown in the last blog post.