Skip to main content
Public

Share visualization

Send this visualization to others.

2020 presidential election margins (preliminary results)

Public visualization

By almccon on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

2020 presidential election margins (preliminary results)

3 stars5Public
AAlan McConchie
Last edited Nov 14, 2020
Created on Nov 11, 2020

This visualization depicts the 2020 presidential election state vote margins using concentric rings, where the inner radius represents the losing party's votes and the outer radius the winner's, effectively highlighting surplus votes. The D3.js v5 map uses `d3.geoAlbersUsa` and `d3.geoPath` to render state borders, with `d3.arc` generating the proportional rings. Data is sourced from The New York Times election API, with circle sizes scaled using `d3.scaleSqrt`.

AI-generated description

2020 presidential election, state margins

Data scraped from The New York Times

Inspired by https://twitter.com/nytgraphics/status/1324702140225519616, I was interested in showing state vote margins, but I also still wanted to indicate states that had large populations. One quibble I have with the New York Times map is that large population centers like Phoenix and Las Vegas look almost invisible because their vote margins are so small.

Effectively this map only shows excess votes, basically the wasted "extra" votes that are just running up the score. The inner radius shows the votes for the losing party in each state, and the outer radius shows the winning party. So a high population state with a narrow win would be a big thin circle (like Florida or Texas) and a big state with a wide margin is a big thick circle like California.

Note: the circle radii are based on raw votes for each party's presidential candidates, and are not adjusted according Electoral College weights.

This map shows a major flaw in our our Electoral College system of electing the president. Once you have enough votes in a state to win a plurality there, any extra votes are wasted. These extra margins don't do anything to offset your opponent's votes in other states. All of those thick red circles in states like Oklahoma and West Virginia represent votes that could have helped Trump win if they were in other states. The big blue circles in California and New York represent millions of surplus Biden votes that didn't gain him any extra electoral votes. It's no surprise that in most states the outcome is already determined, so that voters don't feel like it makes any difference whether they vote or not (for president at least).

If you want to learn more about alternatives to the Electoral College, check out:

Twitter thread: https://twitter.com/mappingmashups/status/1326929138221895680

(previous version data from: https://github.com/tonmcg/US_County_Level_Election_Results_08-20/blob/master/2020_US_County_Level_Presidential_Results.csv (as of 2020-11-07))

Comments

Sign in to join the discussion.

MIT Licensed