Skip to main content
100%

US Election Data Scatterplot

✓ Published1🌍 Public
PPeter VanNostrand
Last edited Sep 28, 2021
Created on Sep 14, 2021
Forked from D3 Scatter Plot

This scatterplot displays US House election results from 2008 to 2020, plotting each candidate’s vote count against the total votes cast in their district. The x-axis shows total votes, while the y-axis shows candidate votes, with overlapping semi-transparent circles revealing density patterns. The visualization uses d3.v6 to load CSV data from a GitHub gist, parses rows with numeric fields, and renders points via SVG circles scaled with d3.scaleLinear. Axes are generated using d3.axisLeft and d3.axisBottom, with the chart sized to the full window.

AI-generated description

This visualization is a scatterplot of election results for all US house seats from 2008 to 2020. This plot shows the number of votes for a given candidate as a function of the total number of votes - that is the x-axis represents the total number of votes in a given election and the y-axis represents the number of those votes that each candidate in that election captured.

Data Source: US House Elections Data 2008-2020.

MIT Licensed

Similar vizzes