Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of India Map

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed