Skip to main content
100%

ACE - Rank Choice Voting

✓ Published0🌍 Public
Ssucotton9
Last edited Jul 8, 2021
Created on Jul 7, 2021
Forked from HTML Starter

This interactive example demonstrates ranked-choice voting by simulating 1000 random voters ranking four candidates and sequentially eliminating the lowest vote-getter until a majority winner emerges. The visualization uses plain JavaScript with array methods like `forEach` and `Math.min`/`Math.max` to tally first-choice votes, redistribute ballots from eliminated candidates, and detect ties resolved by random outcome. Built with the React starter template, it logs round-by-round counts and winner status to the console, illustrating the core mechanics of instant-runoff voting without a graphical display yet.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes