Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mexico map

Public visualization

Mexico map

1 star15🌍 Public
VVAbhiram99
Last edited Apr 12, 2023
Created on Apr 12, 2023
Forked from Mexico map

A choropleth-style map of Mexico's regions rendered as SVG paths using a Mercator projection, with each state outlined in yellow against a blue graticule grid. The visualization loads geographic data from a TopoJSON file hosted as a GitHub gist, processed with the `topojson.feature` API, while D3's `geoPath` and `geoMercator` handle the projection and path generation. The React component fetches the data asynchronously and displays a loading message until the map is ready, with styled fill and stroke colors applied via CSS classes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed