🌍 Public
Viewing a saved revision (read-only)
dbdc5fc9acc04a1796be4ad263580724
Fork of Mexico map
This example displays a choropleth map of Mexico rendered in SVG, with country regions filled in green and outlined in yellow, overlaid with blue graticule grid lines. It uses a Mercator projection configured with a center point over Mexico. The visualization loads TopoJSON data from a provided URL and converts it to GeoJSON using the `topojson.feature` API. The map is built with React for UI management, while d3-geo's `geoPath` generates the SVG paths for each region.
AI-generated description