Fork of Fork of Map of India with D3 - chloropleth map
✓ Published1🌍 Public
RRuanzhenglin
Last edited May 25, 2021
Created on Mar 22, 2021
Forked from Fork of Map of India with D3 - chloropleth map
This choropleth map of India visualizes the country’s states, each filled with a distinct color from the `d3.scaleOrdinal` and `d3.schemeCategory10` palette. State names are rendered as labels at the centroid of each shape, computed with `d3.geoPath.centroid`. The code loads TopoJSON data from a remote GitHub source and converts it using `topojson.feature`. The map uses a `d3.geoMercator` projection, and all elements are drawn as SVG paths with black stroke outlines.
AI-generated descriptionThe map of India - my country
MIT Licensed