Skip to main content
100%

US State Map with Interaction

✓ Published0🌍 Public
Ddanrhymes
Last edited Feb 17, 2020
Created on Feb 17, 2020
Forked from US State Map

This example presents a choropleth-style map of US states with pan and zoom interaction. Built with D3 v5 and rendered as SVG, it uses `d3.geoAlbersUsa`, `d3.geoPath`, and `d3.zoom` to display state boundaries loaded from a TopoJSON file. State names and election data come from a CSV file, though only the names appear as tooltips via appended `title` elements. Hovering highlights a state in red, while the map supports interactive zooming through event-driven transforms.

AI-generated description
MIT Licensed

Similar vizzes