Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mexico Map

Public visualization

Mexico Map

0 stars2🌍 Public
Pprashanth yamala
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from React Starter

A choropleth-style map of Mexico displays the country's regions as filled polygons, with an overlaid graticule. The visualization uses d3.geoMercator for projection and d3.geoPath to render both the geographic features from a TopoJSON source and the graticule lines. The React-based SVG rendering uses the d3 community module topojson's `feature` function to convert the raw data. The map is styled with CSS, and hovering over a region changes its stroke color, though no tooltip data is shown.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed