Board: show each county's districts + representatives in the drill-down

Surfaces the new graph layer on the Board. build_viz.py resolves each
county's district edges to their current representatives (via
build.person_district_node) and injects a per-county `districts` block into
CDETAIL; board.html renders "In Congress / State Senate / State House"
sections in the drill-down, each rep with their district and % of county
covered. County detail now spans 3,221 counties (was 1,049) since every
county with district edges gets a drill-down, not only those with local
officials. Deterministic (board.html byte-identical on rerun).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Fabio
2026-07-04 22:40:00 -04:00
parent 1beeaab2db
commit 886938f1a9
3 changed files with 50 additions and 17 deletions
+12 -3
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long