Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map: ICE-8

Public visualization

Fork of India Map: ICE-8

0 stars0🌍 Public
RRahulChaitu999
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from India Map: ICE-8

This visualization displays a choropleth map of Indian states, each filled with a distinct categorical color from D3's `schemeCategory10` and labeled with its name at the centroid. The map uses a `geoMercator` projection from `d3.geoPath`, with state boundaries rendered as SVG paths and stroked black for separation. Data comes from a TopoJSON file of India’s administrative regions, processed via `topojson.feature`, and one feature is removed with `shift()`. Text labels are positioned using `pathGenerator.centroid()`.

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