🌍 Public
Viewing a saved revision (read-only)
6c0a58bf378447b781b0fd3055a02c2d
Country Map of USA
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 descriptionA demonstration of how to start using D3 version 6.