Skip to main content
100%

My USA Map

✓ Published0🌍 Public
Bbootshine2
Last edited Oct 17, 2019
Created on Sep 26, 2019
Forked from My World Map

This example displays a map of the United States rendered with a light blue sphere background and dark landmasses, using the `geoAlbersUsa` projection and `d3.geoPath` to draw geographic features. It loads US topology data from `us-atlas@1` via `useData`, which fetches a JSON file and processes it with `topojson.feature` and `topojson.mesh` to extract land and interior boundaries. The React component renders SVG paths for the sphere, land polygons, and interior borders, with styling applied through CSS classes in a Poppins-font page.

AI-generated description

A geoAlbersUsa representation from geoJSON and topoJSON (https://unpkg.com/world-atlas@2.0.2/countries-50m.json). I would have figured out how to get state lines but couldn't find the data.

MIT Licensed

Similar vizzes