Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ind

Public visualization

ind

0 stars0🌍 Public
SSaahithi49
Last edited Jul 9, 2022
Created on Jul 9, 2022

This interactive map of India displays state and district boundaries using a Mercator projection, rendered as SVG paths with click-to-zoom transitions. The code loads TopoJSON data from a remote gist, converts it to GeoJSON features via `topojson.feature`, and visualizes it with `d3.geoMercator`, `d3.geoPath`, and the `d3.zoom` tool for animated scaling. Clicking a region triggers a smooth zoom to its bounding box and updates the displayed area, demonstrating dynamic map navigation with React and D3.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed