Skip to content

jacobzed/emaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electoral Mapper

Interactive Canadian electoral maps with poll-level detail for past election results, and census overlays for demographic analysis.

You can see it live here: https://www.electoralmaps.ca

Typical use would look like this:

  1. User selects a region (province, territory, or state). This is used to limit the UI options by only showing relevant boundaries and data for that region.

  2. User selects a city, electoral district, or other administrative boundary with the region.

  3. User selects a census or electoral data trait to display on the map. Each trait has an associated map ID, which is used to load geographic features for that trait. Those features are then color coded based on the associated data. e.g. census data will reference census DA maps e.g. electoral data will reference voting area (poll) maps

Requirements

  • Postgres 16 + PostGIS
  • .Net Core (version 8)
  • Node.js
  • Google Maps API key

Project Structure

/vue

The front-end vue.js app.

/www

The back-end asp.net core web app that provides an API for accessing maps and data.

/data

Various data import scripts for processing raw data and populating the postgres database. Since the data processing for this database is mostly adhoc one-offs, these scripts are not intended as a recreation script.

/gis

Geospatial import scripts.

License

Copyright (c) 2025 Jacob Zielinski

Licensed under a source-available license. See LICENSE file for details.

Acknowledgments

Census data is provided by Statistics Canada. 2023. Census Profile. 2021 Census of Population. Statistics Canada Catalogue number 98-316-X2021001. Ottawa. Released November 15, 2023.

Reproduced and distributed on an "as is" basis with the permission of Statistics Canada.

About

Interactive Canadian Electoral Maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published