Commit 40d9b98
authored
spec: add parliament-basic specification (#2502)
## New Specification: `parliament-basic`
Related to #2499
---
### specification.md
# parliament-basic: Parliament Seat Chart
## Description
A semicircular parliament seat chart visualizes political party
representation by arranging seats in concentric arcs. Each seat is
displayed as an individual dot or segment, colored by party affiliation.
This visualization is ideal for showing the composition of legislative
bodies, election results, and voting bloc distributions at a glance.
## Applications
- Visualizing election results showing party seat distributions in
parliament
- Displaying committee or board composition by faction or affiliation
- Analyzing voting bloc strength and coalition possibilities
- Comparing party representation across different legislative periods
## Data
- `party` (str) - Name of the political party or group
- `seats` (int) - Number of seats held by each party
- `color` (str) - Hex color code representing the party
- Size: 3-15 parties, total seats typically 50-700
- Example: Election results with party names, seat counts, and official
party colors
## Notes
- Seats arranged in semicircular arcs from left to right
- Individual seats rendered as dots or small segments
- Legend should display party names with seat counts
- Optional: highlight majority threshold line (e.g., 50%+1 seats)
- Color ordering typically follows political spectrum (left to right)
---
**Next:** Add `approved` label to the issue to merge this PR.
---
:robot: *[spec-create
workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20585342663)*
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent bc210f1 commit 40d9b98
2 files changed
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments