Skip to content

Show HN: One-dot-per-vote comparison map of US Election Results

votermap.github.io
1 pointNameErrordiscuss
On HN

Source code and more info here: https://github.com/votermap/votermap.github.io/tree/main

The core idea is to take precinct-level election results and visualize them with one dot per vote, but distribute those dots based on block-level population density. For both maps, this uses 2020 Census block non-incarcerated voting-age population totals to place the dots (most of the work to generate these block-level vote and population numbers was done by the redistrictingdatahub.org, with the exception of DC, CA, and PA).

The map uses MapLibre for the front end and a vector-tile service called Tippecanoe to generate the tiles.

I was inspired by maps like this one: https://x.com/kennethfield/status/1363974716826869760 (the author has an excellent book of 101 visualizations of US Election data), but wanted to make a version that uses precinct-level data and offers the side-by-side comparison of 2016 vs 2020.

I hope it's okay to post this here despite the political nature - it was an interesting project from a tech/cartography standpoint and it's cool to see the political geography of the US.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.