Skip to main content
100%

Country Map

✓ Published2🌍 Public
TTejucmandava
Last edited Apr 10, 2023
Created on Apr 10, 2023

This interactive map visualizes the fifty United States using a pink fill for each state and black borders, with a hover effect that changes the fill color to purple. Built with React and D3 v5, it renders geographic data as SVG paths using `d3.geoPath()` with the `geoAlbersUsaTerritories` projection. The code loads US state boundaries from a TopoJSON file via `us-atlas@3.0.0`, applying `feature()` and `mesh()` from TopoJSON to extract land polygons and interior borders.

AI-generated description
MIT Licensed

Similar vizzes