As a citizen of Toronto, the past few weeks (and months) have been interesting to say the least. Our mayor, Rob Ford, has made headlines for his various lewd remarks, football follies, and drunken stupors. With an election coming up in 2014, I was curious as to how the rest of Toronto felt about our mayor.
The Task
Collect data from Twitter, making sure we only use tweets from people in Toronto. Plot those tweets on an electoral map of Toronto’s wards, colour coding the wards based on how they voted in the 2010 Mayoral Election.
The Tools
* Repustate’s API (for data mining Twitter and extracting sentiment, of course!)
* Shapefiles for the City of Toronto including boundaries for the wards
* GDAL
* d3.js
* jQuery
Your new post is loading...
Using Twitter, GeoJSON (via GDAL) and d3 to visualize data about Rob Ford