Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-8 INDIA

Public visualization

ICE-8 INDIA

1 star1🌍 Public
HHarshinireddyy19
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from India Map: ICE-8

This visualization displays an SVG map of India with all states colored using D3’s `scaleOrdinal` and `schemeCategory10`, and labels each state name at its centroid via `d3.geoPath().centroid`. It loads TopoJSON state boundaries from a remote GitHub source, projecting them with `geoMercator`. State paths receive black strokes from CSS, while hover titles show names using appended `title` elements. The code uses `topojson.feature`, `d3.json`, and `d3.selectAll` to render the choropleth-style static map.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed