Inspiration
When I (Spencer Nisonoff) became the Vice President of Stony Brook Game Developers, I proposed that we use Ranked-Choice voting for our elections go forward, a proposal that was unanimously accepted. However, in one election that we had since, it became very tedious to count with the spread of votes. This inspired me and my co-eboard member Qiting Wu to create a web application that does all of the calculations for us.
What it does
When conducting a ranked choice election through Google Forms, one can generate a csv file by viewing it in Google Sheets and exporting it. With our web application, one only needs to upload this google sheet and the calculation is automatically conducted
How we built it
With built this application with React.js. We used the "Papaparse" package to allow users to drag a csv file onto the page.
Challenges we ran into
We had a long discussion on how the algorithm would work, especially for special cases such as ties.
Accomplishments that we're proud of
We are proud of how fast our program runs and how convenient it is.
What we learned
I leaned a lot about how components and states work in react.
What's next for Rank Vote
We would like to allow option that calculates multiple places, such as 2nd and 3rd place.
Built With
- css3
- html5
- javascript
- papaparse
- react
Log in or sign up for Devpost to join the conversation.