Skip to main content
100%

USA country map

✓ Published0🌍 Public
HHarshavardhan
Last edited Apr 7, 2023
Created on Apr 7, 2023
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes