Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map of Mexico

Public visualization

Viewing a saved revision (read-only)

88e4ffff99aa466fa2d1abc006cdfe04

Map of Mexico

0 stars0🌍 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.