Skip to main content
100%

Country Map of USA

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

A static SVG map of the United States renders all 50 states in pink with black state borders, using a `geoAlbersUsaTerritories` projection and `d3.geoPath` to draw geographic features. The map loads U.S. state boundaries from a TopoJSON file via `us-atlas`, then applies a hover effect that turns each state purple. React manages the data-fetching and rendering lifecycle, while D3 v5 handles the geographic path generation and mesh computation for interior borders.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes