Skip to main content
100%

India Map

✓ Published3🌍 Public
Ggayathri
Last edited Apr 3, 2022
Created on Apr 3, 2022

The example displays a choropleth-style map of Indian states and territories, rendered as orange SVG paths on a full-screen canvas. It draws geographic boundaries using a Mercator projection centered on the country, with `d3.geoPath` converting GeoJSON features into SVG path data. The map data is loaded remotely from a TopoJSON file, which is converted to GeoJSON via `topojson.feature`. The visualization is built with React components, where the `Map` component receives the parsed feature collection and applies the projection, while React manages the overall SVG rendering.

AI-generated description

Map

MIT Licensed

Similar vizzes