US States and Counties Circle Pack
✓ Published0🌍 Public
This circle pack visualization displays the results of the 2016 US presidential election at the county level, nested within each state. The hierarchical layout is computed using d3.stratify and d3.pack, with circle sizes proportional to vote totals and colors derived from a depth-based d3.interpolateTurbo scale. Data is loaded from a CSV file via d3.csv, and interactive zooming is enabled through d3.zoom. County-level colors distinguish Democratic and Republican victories, while state and county labels are rendered with the Nunito font.
AI-generated descriptionA circle pack visualization of the 2016 US presidential election showing county-level results.
Data from GitHub: john-guerra/US_Elections_Results.
MIT Licensed