🌍 Public
Viewing a saved revision (read-only)
88e4ffff99aa466fa2d1abc006cdfe04
Map of Mexico
This visualization renders a choropleth-style map of Mexico using React and D3 v6, displaying the country’s twelve regions as olive-colored SVG paths from TopoJSON data. The map uses a `geoMercator` projection via `d3.geoPath`, with graticule lines overlaid in purple. Land regions respond to hover with a pink stroke, while missing data areas appear gray. The code loads geographic features from an external JSON URL using `d3.json` and `topojson.feature`, then passes them to the `Marks` component for rendering.
AI-generated descriptionReact Starter code.