Skip to main content
100%

USA Country Map

✓ Published0🌍 Public
Ssainitish1999
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from USA Country Map

This USA country map visualizes the fifty states and their internal borders using the geoAlbersUsaTerritories projection from the `geo-albers-usa-territories` package, with geographic data loaded from the `us-atlas` TopoJSON source. The React-based app fetches the topology via `useEffect` and `d3.json`, then passes land features and interior state boundaries as props to a marks component. Rendering uses `d3.geoPath` to convert GeoJSON into SVG paths, with land areas filled teal and state boundaries stroked in black, while a CSS hover effect highlights individual states. The visualization is built with D3 v5, React 16, and TopoJSON.

AI-generated description
MIT Licensed

Similar vizzes