Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE-8 INDIA

Public visualization

Viewing a saved revision (read-only)

2d58601c43f842c8be33814f5e75a785

Fork of Fork of ICE-8 INDIA

0 stars0🌍 Public
Ssnehareddygurram
Last edited Apr 5, 2023
Created on Apr 5, 2023

This visualization shows an interactive map of India with its districts and state boundaries, using a Mercator projection centered on the country. Users can pan and zoom the map, with district paths colored via a categorical color scale and hover tooltips displaying the district name and major city. The code loads GeoJSON data from unpkg and a GitHub gist, then renders paths using `d3.geoPath` with `topojson.feature`. Zoom interactions are handled by `d3.zoom`, and the map includes both district and state layers with distinct stroke styling.

AI-generated description