Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

India Map: ICE-8

Public visualization

Viewing a saved revision (read-only)

feee54ba71794cdf92f439f130871693

India Map: ICE-8

1 star13🌍 Public
RRohithReddy-thoughts
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from World Map : ICE-8

This visualization renders a choropleth map of Indian states using a geoMercator projection. It loads TopoJSON data from a remote GitHub repository and converts it to GeoJSON with the topojson `feature` method, then draws each state as an SVG path using `d3.geoPath`. A categorical `scaleOrdinal` with `schemeCategory10` assigns colors to states. State names appear as SVG text elements positioned at path centroids via `pathGenerator.centroid`. The code uses D3 v5 selection methods like `selectAll` and `enter`/`append`, with a React-based bundle.

AI-generated description

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

See also React Starter.