Skip to main content
100%

Map of Mexico

✓ Published0🌍 Public
SSweetierams
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from Mexico Map

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 description

React Starter code.

MIT Licensed

Similar vizzes