Skip to content
Takes modified Elections Canada data and shows statistics per province and per party.
TSQL PHP CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
models
php
sql
templates/boilerplate
views
.gitignore
.htaccess
config.php.default
index.php
readme.md

readme.md

Canadian Voting Statistics

A few scripts to visualize election data. Slowly adding less traditional charts.

See it in action: http://demo.partialsolution.ca/canvotestats/

Install

  • Place the files in a folder.
  • Import the sql/ data to a database
  • Rename config.php.default to config.php
  • Edit config.php to your liking
  • To to the folder location's URI

Contributing

This app is generally designed and a fronter-loader MVC application. The routing and bootstrap files are in php/, database code in models/, HTML is generated by views/. This is all controlled by controllers/ and the template file is just templates/boilerplate/index.php.

You can’t perform that action at this time.