Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Viewing a saved revision (read-only)

d6abd09018b045b8a80adc25c9f966c7

Fork of React Starter

0 stars0🌍 Public
NNita
Last edited Feb 25, 2025
Created on Feb 25, 2025
Forked from React Starter

This interactive map of India displays each state as a colored SVG region, highlighting states and showing their names via tooltips on hover. Using React for the UI and D3.js for rendering, the map loads GeoJSON data from a remote TopoJSON repository and projects it with a Mercator projection. The code uses `d3.geoPath` for drawing shapes, `topojson.feature` for converting data, and a tooltip system driven by mouse events.

AI-generated description

React Starter code.