Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map

Public visualization

Viewing a saved revision (read-only)

9706d4427bc9477fa5a72582b073cfd9

Fork of India Map

0 stars0🌍 Public
SsreepavanKothapalli
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from India Map

This interactive map of India displays state and district boundaries, with each district colored by its state using a categorical color scale. The visualization uses d3.geoMercator for projection, d3.geoPath to render TopoJSON features for both administrative levels, and d3.zoom to enable panning and zooming. Hovering over a district reveals a tooltip with its name and state; the code also attempts to label states with text positioned via path centroids, though that feature is incomplete.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.