🌍 Public
Viewing a saved revision (read-only)
4724351fd6c54e34bad4d3bab59884ad
USA country map
This example displays a choropleth-style map of the 50 US states, rendered as navy SVG paths with black state borders. The map uses the `geoAlbersUsaTerritories` projection and `d3.geoPath` to draw geographic features from TopoJSON data loaded via `d3.json` from the us-atlas package. State shapes highlight in purple on hover, with React managing the component state and rendering the SVG output.
AI-generated descriptionA demonstration of how to start using D3 version 6.