Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

2016 US Vote Totals

Public visualization

2016 US Vote Totals

0 stars0🌍 Public
AAndre J Denais
Last edited Nov 12, 2020
Created on Nov 7, 2020

A scatterplot displays total votes per U.S. state in the 2016 election, with each state represented by a circle positioned by its vote count on the y-axis and state name on the x-axis. The visualization uses React to render SVG elements, with D3 v6 scales and axes handling the layout. Data comes from a CSV file of county-level election results aggregated by state. The chart employs `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the numeric y-axis, and a `d3.scaleOrdinal` color scale, though the fill is currently disabled.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed