🌍 Public
Viewing a saved revision (read-only)
325c3033f5244c5d86cf8512577078a2
Fork of Country Map
A fork of a country map visualizes the 50 U.S. states using an SVG projection. It displays landmasses in pink with black state borders, and hovering over a state highlights it in purple. The code fetches geo-data from a TopoJSON URL and uses `d3.geoPath` with the `geoAlbersUsaTerritories` projection to draw features and interior mesh boundaries. React manages the component state and rendering, while D3 handles the data loading and geographic path generation.
AI-generated description