Mapping the results of the 2019 Alberta provincial election

Map release day is always a good day. I’ve been griding away putting together a provincial map of the 2019 Alberta provincial election results. In this election, the newly formed United Conservative Party won a majority government under the leadership of Jason Kenney, defeating incumbent Premier Rachel Notley and the NDP.

The 2019 Alberta provincial election results map with a preview of the vote distribution of Fort Mcmurray-Lac La Biche

You can browse the provincial result riding by riding and click/tap each riding to zoom in and view the results poll-by-poll at a level which describes how different neighbourhoods in Calgary and Edmonton (for example) voted in this election.

The Edmonton-Riverview results map shows an NDP win, but colouring the map on strength (green) and weakness (red) of the United Conservative Party reveals which neighbourhoods where the party that would win the election turned out their vote

Expanding the “poll winner” control will allow you to colour code the riding polls by the strength of each party which contested the riding. Even the relative strength of parties and candidates with little hope can be discerned with ease.

The Calgary-Buffalo map shows the polls where the NDP and UCP battled for downtown Calgary. Expanding the tooltip at the bottom right allows us to see voter turnout poll-by-poll

A helpful tooltip that shows a pie chart of each riding – and at the poll level, each poll – can be expanded to list the candidates and voter turnout for each part of the province.

You may also find it useful to search for ridings by name or by candidate using the search bar at the top of the maps page. Each riding also shows adjacent ridings at the bottom of the page which makes it easy to browse other contests nearby.

A close up of the Edmonton-Gold Bar results map shows houses and apartment buildings. Get a street-level view of the results of the 2019 Alberta provincial election!

The unification of the Progressive Conservative party and the Wildrose certainly changed the political map if you compare the results to 2015 and to 2012. In 2019, a sea of blue with one island of orange in Edmonton with a peppering of orange in Calgary and Lethbridge is the sum of the 2019 map.

The 2015 Alberta provincial election results map shows the NDP defeat of the Progressive Conservative party with the Wildrose in Official Opposition

The 2012 Alberta provincial election results map shows the contest between Alison Redford‘s PCs and Danielle Smith‘s Wildrose party.

So, do take a look! The United Conservative Party’s leadership race is underway after the resignation of Jason Kenney as party leader. How will the party fare against the NDP in the upcoming 2023 Provincial election? Party strategists may find these maps helpful to understand the historical context of politics in each region of Alberta and how the vote has evolved over the past decade.

On a technical note, I switched the maps over from raster to vector format meaning they should look smooth at any magnification. I hope to talk more about that in a later post. As a fun side-effect, you can also tilt the maps!

Downtown Calgary looking south showing UCP areas of UCP strength

Google Earth demo – 2008 General Election poll maps and results

For the past week or so, when I’ve had a spare moment in the office, I’ve been working on a mapping project involving Elections Canada data and the Google Earth KML standard.  For anyone that’s worked on a political campaign or in a Member’s office, poll maps are always close by and always useful for plotting strategy for the next election.  Elections Canada provides data for drawing these polls maps, but unfortunately this data is not available in a format or projection readable by Google Earth or Google Maps.

I’ve gone ahead and translated and reprojected (after crashing my computer a few dozen times) the geographical coordinates that dileaneate the approximate 60,000 polls that make up the 308 ridings.  I’ve written software that represents these data points as polygons in Google Earth and shades them by poll winner (party) or by party vote share by poll (Conservative, Liberal, NDP, Green or Bloc).  I’ve also included an option in the software to shade the map by voter turnout.  These maps have an obvious political purpose, however, addressing low voter turnout is a non-partisan interest shared by most.

I’ve been working on writing an API to make this sort of data available to developers through a few GET requests.  I’ll keep you updated.  If you’ve got any questions, please send me an email or put a comment in the comment section below.  Here’s the demo, in all the wondrous splendor of Youtube HD.


(click the “full screen” button for the best experience)