districtry
Click the map for every district you're in, and who represents you.
Pick a point on the map. The app looks it up against every civic-district boundary you've toggled on — ward, county board, congressional, police, school, and dozens more — and builds a "civic profile" for that exact spot, naming the district and, wherever a verifiable source exists, the person who represents it. No login, no build step, no server: it's a single HTML file with an inline script, deployed as a static site.

The fleet
This repo publishes seventeen instances of the same app, one per place, each its own self-contained folder:
| Metro | Live at | Covers |
|---|---|---|
| Illinois (reference implementation) | districtry.com/il/ | 97 counties — wards, county boards, police districts and beats, school zones, judicial subcircuits, and the people who hold those seats |
| New York | districtry.com/ny/ | Counties, towns and villages, school and judicial districts across the state, plus the city's boroughs, Council and community districts, NYPD precincts and school zones |
| San Francisco | districtry.com/ca/ | Supervisor districts, neighborhoods, police districts, school attendance areas, and the state and federal seats above them |
| Wisconsin | districtry.com/wi/ | 72 counties — cities, villages and towns, school districts, ZIP codes, and the Assembly, Senate and U.S. House seats, with who holds them |
| Iowa | districtry.com/ia/ | 99 counties — supervisor districts under each county's own election plan, townships and cities, school districts, ZIP codes and post offices, and the Iowa Senate, House and U.S. House seats, with who holds them |
| Michigan | districtry.com/mi/ | 83 counties — commissioner districts, compiled by the state from the plan each county's apportionment commission files, and the Michigan Senate, House and U.S. House seats, with who holds them |
| Minnesota | districtry.com/mn/ | 87 counties — townships and cities, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Minnesota Senate, House and U.S. House districts, with who holds the U.S. House seats |
| Kentucky | districtry.com/ky/ | 120 counties — the county a point sits in, and the Kentucky Senate, House and U.S. House districts, with who holds the U.S. House seats |
| Indiana | districtry.com/in/ | 92 counties — townships, cities and towns, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Indiana Senate, House and U.S. House districts, with who holds the U.S. House seats |
| North Carolina | districtry.com/nc/ | 100 counties — townships, cities and towns, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the North Carolina Senate, House and U.S. House districts, with who holds every one of those seats |
| Oklahoma | districtry.com/ok/ | 77 counties — cities and towns, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Oklahoma Senate, House and U.S. House districts, with who holds the U.S. House seats and nearly every legislative one |
| South Carolina | districtry.com/sc/ | 46 counties — county council districts with the winner of every seat, cities and towns, school districts, ZIP codes, the Catawba Nation's land, and the nearest police station, fire station and post office, plus the South Carolina Senate, House and U.S. House districts, with who holds every one of those seats |
| Tennessee | districtry.com/tn/ | 95 counties — county commission districts, cities and towns, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Tennessee Senate, House and U.S. House districts, with who holds each of those seats and the county commissioners in every county that publishes a current list |
| Arkansas | districtry.com/ar/ | 75 counties — quorum court districts with each county's judge and the justice of the peace for nearly every district, cities and towns, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Arkansas Senate, House and U.S. House districts, with who holds each of those seats |
| Mississippi | districtry.com/ms/ | 82 counties — every county's five supervisors named, with the supervisor districts drawn in 25 counties, cities and towns, school districts, ZIP codes, the Mississippi Band of Choctaw Indians' land, the Supreme Court, Court of Appeals, chancery and circuit court districts with their judges, and the nearest police station, fire station and post office, plus the Mississippi Senate, House and U.S. House districts, with who holds each of those seats |
| Louisiana | districtry.com/la/ | 64 parishes — every parish's police jury or council named, with its president where it elects one, and the parish district lines drawn in the 8 parishes whose current map is confirmed, cities, towns and villages with their mayors and councils and the police chief where one is elected, the council districts of Lafayette, Bossier City, Central and Slidell, school districts with every school board's members, ZIP codes, the land of Louisiana's four federally recognized tribes, and the nearest police station, fire station and post office, plus the Louisiana Senate, House and U.S. House districts, with who holds each of those seats |
| Missouri | districtry.com/mo/ | 114 counties and the City of St. Louis — every county's commission, council or legislature named (the three charter counties that keep their own lists from their own pages), with the commission district lines drawn in the 34 counties whose own maps give them, cities, towns and villages, townships, school districts, ZIP codes, and the nearest police station, fire station and post office, plus the Missouri Senate, House and U.S. House districts, with who holds each of those seats |
They share one engine — the metro-agnostic core, layer-registration framework, and UI chrome live once under engine/ and are spliced into each instance's own index.html/sw.js by scripts/compose_app.py, so there's nothing to keep in sync by hand. What's genuinely per-metro (which layers exist, their boundary sources, the officeholder rosters) lives in that instance's own metro-worksheet.json, data/, and layer modules. Illinois is by far the most built out — the rest of this README is mostly about it — and is the model the others follow when a feature or a county-expansion technique proves out. Wisconsin was the first state to expand IN PLACE as a folder rather than as a fork; Missouri is the newest.
What it answers
41 layers ship in Illinois today, split political (12) · public safety (7) · schools (9) · geography (13). Layers are location-aware: Chicago-only layers hide once you're outside the city, county-scoped layers only appear in counties that publish the underlying data, and the statewide layers (county, township, municipality, school district, ZIP) work anywhere in Illinois.
| Group | Layer | What you get |
|---|---|---|
| Political | City Ward | Ward number, alderman, office phone + address |
| Ward Precinct | Precinct number (a sub-selection of City Ward — turning it on drops the ward to an outline and fills it with its precincts) | |
| County Board District | Your county-legislature seat, dispatched across 61 counties — Cook's Commissioner district (live officeholder join, office pin) through the collar counties to the downstate additions. Depth follows what each county publishes: members with party, phone, e-mail and profile links where a roster exists (most), name-only where it doesn't. Where a county publishes no boundary at all, the district is derived from its own published composition (whole townships or whole precincts) and the build proves the partition and population balance. Nineteen counties elect their board countywide instead — no district to draw, so their commissioners ride the County card instead, each verified at-large from a certified election document or the county's own election authority in writing | |
| U.S. House District | District (IL-N), representative, party, D.C. phone, website | |
| IL State Senate District | Senator, party, Springfield + district offices, ILGA page | |
| IL State House District | State representative, party, offices, ILGA page | |
| Elected School Board District | ERSB district ("6b"), elected board member | |
| IL Supreme Court District | District under PA 102-0011 (District 1 = Cook County) | |
| Cook County Board of Review District | District under PA 102-0012 (property-tax appeals) | |
| Early Voting Site (nearest 3) | Official early-voting sites for the current cycle — site, ward, address, distance (hand-curated per election from chicagoelections.gov; each site also hosts a secured ballot drop box) | |
| Judicial Subcircuit | Your judicial subcircuit — dispatched from 9 shipped circuits whose boundaries can span more than one county: Cook (20 subcircuits, with the Circuit Court's Municipal District + courthouse), Will (12th Cir.), DuPage (18th), Lake (19th), Kane (16th), McHenry (22nd), Winnebago (17th, shared with Boone), Madison (3rd, shared with Bond), Sangamon (7th, shared with Greene, Jersey, Macoupin, Morgan & Scott). Kane and McHenry pre-built from the enacted PA 102-0693 shapefile; each card links its circuit's court. (Kendall's 23rd Circuit has no subcircuits under the act, so the layer hides there) | |
| Public Safety | Police District | CPD district number and name, commander, CAPS unit phone/email, station address + phone, district map link |
| Police Beat | Beat number (a sub-selection of Police District — turning it on drops the district to an outline and fills it with its beats) | |
| CCPSA District Council | The three elected District Councilors for that police district (name + role) and links to each Councilor's profile + the council page | |
| Police Station (nearest 3) | Nearest stations anywhere in the metro (USGS National Map structures) — CPD district stations, suburban PDs, and sheriff facilities alike, with addresses | |
| Fire Station (nearest 3) | Nearest fire stations anywhere in the metro (USGS National Map structures) — CFD houses carry their district + station number; suburban entries name their department or fire protection district | |
| Fire Protection District | The fire protection (taxing) district serving the point, dispatched across 23 counties. Depth varies by source: trustees in Will, office contact in Lake, chief + contact in Kane, dept head + address + phone + URL in Madison, the district's own website in Peoria, and — in Iroquois — the county's own note recording where its two sources disagree. Name-only elsewhere. Response-zone layers are deliberately excluded: a dispatch zone is not a taxing district | |
| DuPage Special Police District | Township police-tax district funding supplemental DuPage County Sheriff patrol of unincorporated areas, with the Sheriff linked | |
| Schools | Elementary / Middle / High School Zone | CPS attendance-boundary school, grades, address, profile link, map pin |
| CPS Network (K-8 / High School) | Network, chief, phone, office address | |
| School District (Unified / Elementary / High School) | Statewide TIGERweb school-district identity — which district a point belongs to anywhere in Illinois | |
| School Location (nearest 3) | Nearest schools — name, grades, type, address, distance | |
| Geography | Community Area | Official community area name + number |
| ZIP Code | ZIP code (live Census TIGERweb ZCTA — works statewide) | |
| County | County name + seal, anywhere in Illinois | |
| Township / County Subdivision | Township (a sub-selection of County) | |
| Municipality | Incorporated place name, anywhere in Illinois | |
| Park District | Park district, dispatched across 14 counties — a Chicago click resolves the Chicago Park District. Commissioners in Will, office contact in Lake, board president + contact in Kane, the district's own website in Peoria, name-only elsewhere. Counties that publish park facilities rather than district boundaries are recorded gaps, not guesses | |
| Library District | Which separate library taxing body serves the point, dispatched across 16 counties — Cook distinguishes independent Public Library Districts from municipal Library Funds (a Chicago click resolves the City of Chicago Library Fund). Trustees in Will, office contact in Lake, board president + contact in Kane, the district's own website in Peoria, name-only elsewhere | |
| Voting Precinct | County voting precinct (a sub-selection of Township), dispatched across 69 counties, with the containing County Board district and the county clerk's election lookup. Most counties' cards also name the polling place where the county publishes a precinct-keyed assignment. Hidden in Chicago (city precincts are the Ward Precinct layer) and in Rockford, which runs its own election commission | |
| TIF District | Which Cook tax-increment-financing district contains the point, with the Clerk agency number and a link to the Clerk's TIF revenue reports — most points are in no TIF, and that honestly shows as no result | |
| Water Reclamation District (MWRD) | Whether the point lies inside the Metropolitan Water Reclamation District of Greater Chicago (one district, nine commissioners elected at large); Cook's fringe townships sit outside | |
| Post Office (nearest 3) | Post office name, address, distance (USGS National Map structures) | |
| Library (nearest 3) | Chicago Public Library location, address, phone, distance |
Every result card fails independently: a layer whose data source is down shows an error with a Retry button in that card and never affects the others. And where the app has nothing to show, it says so instead of guessing — officeholder data is never invented, and the in-app Data gaps panel lists every recorded absence (105 as of 25 August 2026) naming the specific artifact its publisher would have to release.
Shareable links
The URL hash mirrors your current view (#p=41.8825,-87.6285&l=wd,sb — each layer is written as a short code that never changes, listed in layer-codes.json). Copy it from the URL bar — or use the Copy link button on the selected-point chip — and anyone opening the link sees the same point with the same layers on. Links made before 2026-10-09 spell the view out (#point=41.88250,-87.62850&layers=ward,school-board) and still open.
How Illinois coverage grew
Illinois started at the seven Chicago-metro counties and now covers 89 of Illinois's 102 counties — 77 through their own dispatch entries, 2 through a shipped judicial circuit's boundary alone, and 10 at-large through the County card — reaching north to the Wisconsin line, west to the Mississippi, and south through the Metro East to the Missouri border. The generated county-status table is the current source of truth; the remaining 13 researched-but-unserved counties each carry a recorded gap explaining what's missing.
Growth stopped following simple map adjacency partway through and now goes wherever the data actually is. Some counties publish a GIS site with everything needed; several were built with no county GIS at all, either dissolved from Census voting districts against a certified election canvass, or — for a handful of counties whose own board pages were never readable — reconstructed entirely from certified election returns published by a third-party results vendor. Two counties (Douglas, Vermilion) shipped from a public ArcGIS Online organization that carried dozens of the county's own layers even though the county's own web map viewer only ever pointed at one of them.
The coverage area is a single contiguous polygon today — no islands, though the boundary has gone disjoint and reattached four separate times as adjacency-driven growth outran itself (most recently Massac County, detached and reattached to the mainland within one evening). It does carry four holes: unserved ground entirely enclosed by served counties — Bureau and Christian standing alone, plus two multi-county blocks (Clay/Fayette/Jasper/Marion/Wayne, and Champaign/Ford/Piatt) sealed shut when a single bordering county's join closed the last gap in the ring. scripts/build_metro_outline.py --check is the ground truth for the ring count (5: one outer boundary, four holes) — a hole isn't permanent, and has closed before when a county inside it joined.
Try it locally
There's nothing to build.
# any static server works:
python3 -m http.server 8000
# then open http://localhost:8000/ for the fleet landing page, or
# http://localhost:8000/il/ to go straight to the Illinois app
Cook and the collar counties mostly fetch live data from public APIs at runtime, so they need an internet connection. Most downstate counties publish no live API at all, so their boundaries are pre-built once and shipped as same-origin files under il/data/app/ — 271 files today: 194 boundary/geometry files served cache-first by the service worker (il/sw.js), since boundaries change roughly once a decade, so a loaded layer keeps working offline; and 77 officeholder-roster files served network-first, so a returning visitor always gets the current roster rather than a stale one.
How it's built
Each instance is a stable core plus pluggable layer modules, all inside one index.html. The full module contract and build history live in docs/BUILD_PLAYBOOK_1.md; docs/EXPANSION_GUIDE.md — the State Expansion Guide — is the primary guide for standing up a new state instance, deepening one county by county, or adding a new concept.
- Core: Leaflet map, click-to-select + Photon/Nominatim geocoder (debounced, metro-bounded), global
{selectedPoint, sequence}state where a monotonic sequence counter discards stale async results once a newer point is selected, sharedsanitize/pointInGeometry/fetchJSONWithRetryutilities, the layer registry + result-card framework with per-layer failure isolation, selected-boundary highlight, URL-hash permalinks. - Layer modules: each layer registers
{id, group, label, overlay:{load, style}, query(point, seq), render(result)}. Overlays lazy-load on first toggle and are cached;queryruns a local point-in-polygon test against the cached boundaries (or nearest-N haversine for station/school/amenity layers). A layer can declare acoverage(point)test — outside it, the layer hides rather than erroring. The six cross-county concepts (County Board, Judicial Subcircuit, Fire Protection District, Park District, Library District, Voting Precinct) each register through oneregisterCountyLayerdispatcher
