USA Map
✓ Published0🌍 Public
This example displays a choropleth-style map of the 50 US states using the `geoAlbersUsaTerritories` projection from the `geo-albers-usa-territories` library. The visualization renders geographic data from `us-atlas@3.0.0` TopoJSON via `d3.geoPath` within a React component, using `feature()` and `mesh()` from `topojson` to generate land and interior boundaries. States are filled with a yellow color and outlined in black, while hovering on a state highlights it in green, as defined in the accompanying CSS. The map is drawn as SVG at 960×600 resolution, with a loading state displayed until data is fetched.
AI-generated descriptionMIT Licensed