🌍 Public
Viewing a saved revision (read-only)
d5c5bd6170cc491fb0ff11ed84ec710e
Fork of Mexico map
This example displays a map of Mexico using a Mercator projection with d3.geoMercator and renders geographic features as SVG paths via d3.geoPath. It loads TopoJSON data through d3.json and converts it with topojson.feature, then draws graticule lines and land boundaries. The React component structure manages asynchronous data fetching, while CSS styles each path class (land, graticules) with distinct colors. The visualization relies on d3.v6 and topojson to produce the cartographic output.
AI-generated description