The chart below shows the flows of money to Toronto mayoral candidates in 2006. What follows is a quick explanation and a few observations. Then I follow up with a few short tips on how I got the visualization up and running. 2006 Toronto Election Contributions By Region, Dollar Amounts and Candidate [iframe width=”600″ height=”520″ src=”https://zenbot.ca/elections.html”] Source: City of Toronto Note that I was coding anything ‘Outside Toronto’ to be more specific and got part-way (you can see Kingston and Ottawa as some locations). Basically outside Toronto extends to Mississauga,…
Category: Coding
Sankey Diagram using D3.js Part 1 of 2
Among other things , I’ve been itching to master some D3.js tricks, mainly because the plugin lets you do some pretty gorgeous stuff, and there’s a wide variety of visualizations which are highly customizable. Recently, I finally had a few minutes to try something out. Since my work entails working with Statistics Canada data, or anything to do with start ups in Ontario I figured I would go for something that has nothing to do directly with that world. This led me to tracking down some elections donation data from…