Skip to content

The dynamic visualization shows the distribution of seats for members of the Swiss parliament in relation to an additional feature.

Notifications You must be signed in to change notification settings

cyrill-martin/parlament

Repository files navigation

The Swiss Parliament

This repository houses the files for the Swiss Parliament visualization, which is available and detailed at parlament.kmapper.com. This visualization is a public portfolio project by kmapper GmbH, and it's built using open data sourced from parlament.ch.

Dependencies

  • node.js
  • Python 3 if you want to pull new data from parlament.ch.

Serve and Develop Locally

  1. Clone repository
  2. cd into repository
  3. Run npm install to get the needed npm packages
  4. Run npm run serve to serve on http://localhost:8080

Build production files

Run npm run build to build files in a dist directory.

Deploy to GitHub Pages

Run npm run deploy to build production files and push them to the gh-pages branch on GitHub.

License

MIT

About

The dynamic visualization shows the distribution of seats for members of the Swiss parliament in relation to an additional feature.

Resources

Stars

Watchers

Forks