This project seeks to simulate and visualize elections in "first passed the post" systems. Especially an effect of these systems known as Duverger's law, where, given enough time, FPTP systems tend to converge to effectively only two political parties.
Long story short, if you believe that voters act rationally, then, according to the math, FPTP guarantees your democracy will descend into an us/then flamewar.
See live at: https://election-simulator.netlify.com.
This project was largely inspired by "Politics in the Animal Kingdom" and Nicky Case's fantastic "the evolution of trust".
Make sure you have a recent version of node (this app was written with v8.11.2), then run npm install.
This project was bootstrapped with Create React App, so the usual suspects work:
npm startto start the development servernpm testto start the test runnernpm buildto build the production site