Poll-level mapping of the federal election

Cedric Sam has rolled out a wonderful series of maps of the May 2 federal election down to the poll level, with an alternate view of the 2008 election, which can (and has) kept politics/mapping/data visualization geeks like me busy for hours.

Elections Canada uses a mixture of points and polygons for poll geography, which creates some challenges in map display. Cedric uses the traditional teardrop-shaped points – I’ve experimented with 6px x 6px squares on a 32×32 clear .png. The problem in either case is that as the user changes the map zoom, the polys change size but the points don’t. I’d be curious to see how these maps would perform in Fusion Tables.

One thing the 2008/10 comparison shows is how thoroughly the Liberals have been eclipsed by, depending on the area, the Tories or the NDP.

York South-Weston (2008 to 2011)


Hamilton East-Stoney Creek

St. Paul’s

The Dundas/Ancaster parts of AFDW (rural areas were uniformly Tory in 2008 and 2011)


Toronto Centre

Mapping organ donation in the Maritimes

The first of several mapping/data projects we have lined up for Atlantic Canada aired Monday: a look at organ donor registration in Nova Scotia and New Brunswick by postal code. Nova Scotia does quite a lot better than New Brunswick, though both provinces have far higher rates than BC and Ontario – New Brunswick only looks bad by comparison to Nova Scotia, specifically.

Here’s the map:

Percentage of residents on an organ donor registry

Over 60% 55-60% 50-55% 45-50% 40-45% Under 40%

And here’s how it turned out on TV:

Following the money in the Ontario campaign

I have a text/graphics package posted just now on the Global Toronto site looking at ‘real time’ contribution data for the campaign. It can be anything up to 20 business days old, so it’s really a look at political giving in the first half of the election period. On the other hand, I’m old enough to remember looking up Ontario election finances records in thick dusty tomes – this is much better.

I’ll come back in a few weeks and have a look at the complete data – I’d be curious to know whether donations followed the shift in electoral momentum from the Conservatives to the Liberals.

I was very pleased with how easy the graphics were to produce in Fusion Tables. Learning Tableau Public properly is on my to-do list, but for quick charts ready immediately with minimal fuss, I so far haven’t been able to do better than Fusion Tables.

Here are some of the tables (see the article link for all of them):

All types of donations by party share


All union donations by party share

Mapping Ontario distracted drivers

Our Web/TV package on distracted driving (cell phones, texting, watching TV while driving and so forth) launched Thursday. (Click on the link for the full report.)

As far as I’m aware it’s the first look at who has been convicted of distracted driving since Ontario’s ban took effect in 2009.

It’s a natural tie-in to the OPP crackdown this week.

The data itself is built on Ministry of Transportation records of about 29,000 distracted driving convictions over a one-year period from June 2010 to June 2011 broken down by the first three characters of the drivers’ home postal codes, calculated as a rate against the total licenced drivers by postal code. We got the data, as usual, though FOI.

In the Greater Toronto Area, distracted drivers cluster in the outer 905, with three Burlington postal codes making the GTA top 10:

1) L7T Aldershot
2) L0J Kleinburg
3) L9V N of Orangeville
4) L0H North Pickering
5) L7R Downtown Burlington
6) L7E NE Caledon: Bolton, Palgrave
7) L9T Milton
8 ) L4L Woodbridge
9) L7M Burlington: Upper Middle Road/Walkers Line area
10) L7C South Caledon

The suburban/urban pattern changes in Hamilton/Niagara, where urban neighbourhoods in Hamilton and St. Catharines have higher rates than surrounding areas.

Toronto has lower rates than the 905, with clusters more in high-income neighbourhoods than not:

1) M5V Waterfront condo neighbourhood: King, Spadina
2) M5N North Forest Hill
3) M8X Kingsway
4) M4E Eastern Beaches
5) M4K Riverdale
6) M4L Western Beaches/Leslieville
7) M1N Scarborough Beaches/Birchcliff
8 ) M8Y Etobicoke: Sunnylea/Prince Edward Drive S
9) M3K Downsview
10 M6S Bloor West Village/Swansea

Here’s the video: