Skip to main content
100%

Us 2020 elections by county

✓ Published0🌍 Public
Ggcappadaniel
Last edited Nov 16, 2020
Created on Nov 16, 2020

A choropleth map of the US 2020 presidential election results by county colors each county on a red-blue diverging scale based on the margin between Democratic and Republican votes, with state borders overlaid in white. Hovering over a county updates a detail panel showing the vote percentages and a horizontal bar comparison between Joe Biden and Donald Trump. The visualization uses D3 v4 with `d3.geoAlbersUsa` and `d3.geoPath` to render TopoJSON county boundaries from the US Census, while `d3.scaleSequential` with `d3.interpolateRdBu` handles the color encoding. Data comes from The Guardian and USA Today.

AI-generated description

US 2020 election results by county

Data: The Guardian and USA Today

County boundaries from: https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html

Code based on: https://bl.ocks.org/john-guerra/raw/213160a5025315f028cda4ebc0c97256/

MIT Licensed

Similar vizzes