US Election Data Scatterplot
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 descriptionThis 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.