Gist ae281423e3bbaa1cf17b70d2414f931f
✓ Published0🌍 Public
AAlan McConchie
Last edited Apr 27, 2021
Created on Apr 27, 2021
This visualization compares U.S. state populations and House representation between 2010 and 2020, plotting each state as a circle sized by population and colored by change in representatives. It shows gains and losses in seats, with states like Texas and Florida growing while California, New York, and others shrink. The code uses d3.forceSimulation to position the circles and d3.geoPath to draw state boundaries from a TopoJSON map, with tooltips displaying exact figures. Data comes from the provided apportionment-2020.csv file.
AI-generated description