Web app that displays an interactive 'slippy' map of South African election results
JavaScript Shell CSS HTML Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
scripts
static
.gitignore
README.md

README.md

election-map

This is a web app that displays an interactive 'slippy' map of South African election results. It uses a slightly modified version of TileStache to serve vector geography tiles (representing municipalities, wards, etc.); see this commit for the necessary modification. The front-end uses Leaflet plus Glenn Robertson's GeoJSON Tile Layer to display the map.

Live version and data

A live version of the app with results from the 2009 and 2014 elections can be seen at http://elections.adrianfrith.com/. The PostgreSQL databases containing the data can be downloaded from the following links: 2014, 2009. Those are 700MB files each, but if you just want the underlying data you can download:

  • the election results by voting district: 2014, 2009
  • the link between voting districts and larger areas: 2014, 2009
  • the geography shapefiles: 2014, 2009