A video demo:
The CBS publishes Shapefiles with the boundaries of the municipalities, burroughs and neighborhoods of the Netherlands with a legend of the statistics they bundle. The tools that the CBS themselves provide to view this data are not very user friendly, see both: Statline and CBS in uw buurt.
The election results for the European Elections of 2009 came from nlverkiezingen.com. We entered the results for the 2010 Municipality Elections ourselves. Parliamentary Election results are provided by the Kiesraad (electoral council).
This project started as a foray into drawing municipal boundaries on the screen. No easy to use tool2 to plot statistics at that level existed yet, so we thought that would be an interesting and useful problem to tackle. After some attempts we created a proof of concept in Processing, but we did not think a Java applet is ‘distributable’ enough. We then rewrote the entire thing in Processing.js.
A logical consequence of having an easy way to draw local statistics was to create a tool to visualize the statistics that were already bundled in the provided Shapefile. We think the result is quite interesting.
Wat is so interesting about it?
There are tons of stories in this data waiting to be told just like there used to be in any old atlas. Instead of paging through the graphics and charts in one of those, Dutchstats allows you to compare statistics for the same area side by side. It makes the social geography that the CBS collects directly tangible with as little jargon as possible.
Some interesting views on the data:
The decimation of VVD and PvdA by LPF in 2002
The dissolution of LPF in 2003
The location of the Dutch Bible Belt
The prevalence of PVV compared to the amount of non-Western immigrants
Crop farms compared to cattle farms
But there are dozens more interesting stories waiting to be told in these numbers and that is exactly what makes them so interesting. You can keep clicking through, changing the selections, viewing local results etc. That is exactly what we think a good datavisualization should provide.
The source code is available on github. An open source release geared towards making it easy to plot your own data on the map —even for non-programmers— is forthcoming. Also we only discovered a more recent Shapefile on the CBS site3 after the public launch of this project. We will integrate that as soon as possible.
Some other stuff we are considering:
- Speed optimizations, the visualization is near unusable in Firefox. Recent versions of Webkit and especially Chromium perform much better. I would be interested in hearing if this works in IE9 and how it performs.
- Zooming display, the same statistics are provided on lower levels as well. Adding those shapefiles and enabling drilling down to the very local level could be very interesting.
- Showing all of the data displays in small multiples.
- We’re always interested in displaying more data that can be aggregated at the municipal level. Get in touch.