TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby NameError7 months ago
Source code and more info here: <a href="https:&#x2F;&#x2F;github.com&#x2F;votermap&#x2F;votermap.github.io&#x2F;tree&#x2F;main">https:&#x2F;&#x2F;github.com&#x2F;votermap&#x2F;votermap.github.io&#x2F;tree&#x2F;main</a><p>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).<p>The map uses MapLibre for the front end and a vector-tile service called Tippecanoe to generate the tiles.<p>I was inspired by maps like this one: <a href="https:&#x2F;&#x2F;x.com&#x2F;kennethfield&#x2F;status&#x2F;1363974716826869760" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;kennethfield&#x2F;status&#x2F;1363974716826869760</a> (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.<p>I hope it&#x27;s okay to post this here despite the political nature - it was an interesting project from a tech&#x2F;cartography standpoint and it&#x27;s cool to see the political geography of the US.

no comments

no comments