feat(elections): results UI with round-by-round visualization

Aperta
#1,945 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
d3, react

Direzione di ricerca

Start with epic #1933 and the dependent IRV and STV tabulation issues to understand the available aggregate results. Then locate the existing election UI entry points and design-system color tokens; done means admin and public result views, round tables and visualization, exhausted-ballot labels, shareable URLs, CSV downloads, and no raw ballots exposed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Display tabulation results to admins (preview) and to the public (after publish) with a round-by-round breakdown that makes ranked-choice results legible.

Part of #1933.

Requirements

  • Admin-only results preview once election status is `closed`
  • Public results page once status is `published`
  • Per-race display: method (IRV/STV), winner(s), seats filled, quota (for STV)
  • Round-by-round table showing counts, eliminations, transfers
  • Visualization (stacked bar chart or Sankey) showing ballot flow across rounds
  • Clear labeling of exhausted ballots in every round
  • Shareable per-election URL
  • Downloadable CSV of per-round counts for each race
  • No raw ballots exposed in the UI — only aggregate round data

Context

  • Epic: #1933
  • Depends on IRV and STV tabulation issues

Implementation notes

  • Sankey visualization library: `d3-sankey` directly, or `@nivo/sankey` if we want a pre-built React component
  • Use design-system color tokens — results coloring must meet contrast requirements
Lingua principale
HTML
Stelle
33
Fork
107
Merge medio
14h 6m
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di USRSE/usrse.github.io

Tutte le issue di USRSE/usrse.github.io

Issue simili

Altre issue su Data Visualization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.