Skip to main content
100%

Fork of ICE8 USA Map

✓ Published0🌍 Public
Ssathwikrajidi
Last edited Apr 6, 2022
Created on Apr 6, 2022
Forked from ICE8 USA Map

This example renders a map of the United States using React and D3’s geoAlbers projection, with SVG paths generated by d3.geoPath. It displays the nation’s landmass in yellow, state boundaries as black lines, and a white sphere background. Geographic data comes from the us-atlas TopoJSON file, processed via topojson.feature and topojson.mesh to extract land and interior borders. The visualization loads asynchronously using d3.json within a React useEffect hook, showing a loading message until the data is ready.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes