Fork of USA Map with TOPO JSON Data
✓ Published0🌍 Public
This example renders a stylized choropleth-free map of the United States using React and D3 v5. It displays state boundaries and landmasses as SVG paths, with aqua oceans, green land, and cream-colored interior borders, overlaid with graticules. The code loads TopoJSON data from the US Atlas (states-10m.json) via `d3.json`, converts it using `topojson.feature` and `topojson.mesh`, and projects it with `d3.geoAlbers` and `d3.geoPath`.
AI-generated descriptionA US map showing states boundaries from US Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed