This tool allows you to simulate elections. Place candidates and voters on a political coordinate system, and compare different voting systems to get different results.
Currently implemented voting mechanisms for a single seat:
For multiple seats:
- Sainte-Laguë method
- Largest Remainder method with different quotas
- D'Hondt method
- Huntington-Hill method
- Individual candidates
Add voters by clicking into the coordinate system. Add candidates by clicking into the coordinate system and setting the appropriate draw mode.
Party names are just for flavor and do not have any real political meaning or valuation.
Select a Voting mechanism and look at the results.
Install dependencies with npm i
.
Start the webpack dev server with npm start
.
Run npm run deploy
to deploy to gh-pages.