Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACE - Rank Choice Voting

Public visualization

ACE - Rank Choice Voting

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed