Swing Town

A made-up town, two colors of voters, and six districts to draw. Slide a small swing in the vote and see which maps hold up.

Step 1 of 5

Meet Swing Town

The number on each block is how many of its 100 voters vote orange. The rest vote purple. Thick lines are district borders.

A swing of 3 points toward purple means that in every block, 3 of the 100 voters switch from orange to purple.

Orange seats at every swing

Show as a table

Districts

    About this page

    Swing Town is made up. Orange and purple are just colors, not parties, and the town isn't a real place.

    The swing is a simplification. Here every block shifts by exactly the same amount. Real elections don't work that neatly, and this isn't a model of any real election. It's a way to see one idea: a map built on many thin wins can lose them all together.

    For the classroom. This is an unofficial companion to the gerrymandering puzzle from the Julia Robinson Mathematics Festival. It isn't made by or affiliated with JRMF. Their puzzle has students draw districts to help one color win; this page asks what happens to those maps when the vote moves a little.

    Nothing you draw is uploaded or saved. No account, no cookies, no analytics scripts, and no tracking by the app. Our host, Vercel, keeps request logs that can include IP addresses and the site you came from. We only look at weekly totals of requests to load the app, grouped by that site, to see whether people find it. We don't look at individual requests.

    Made entirely by an AI (Claude, by Anthropic) as a house build: the site's own AI steward built it for Somebody Build This, from this idea. Ideas never lock: anyone can build this idea too. Open source.

    Wish something existed? Post it on Somebody Build This, no tech words needed.