Skip to main content
100%

Fork of Fork of India Map

✓ Published0🌍 Public
AAbdouEnsaj
Last edited Sep 12, 2022
Created on Sep 12, 2022
Forked from Fork of India Map

This visualization shows a choropleth map of India with each state filled by a distinct color from a categorical scale, plus state names overlaid at their geographic centroids. The map uses a Mercator projection positioned with specific translation and scale values, and the code loads India’s state boundaries as TopoJSON from a raw GitHub repository. Using d3.geoPath and d3.geoMercator, it renders the shapes as SVG paths, while d3.scaleOrdinal with schemeCategory10 assigns fill colors, and text elements are placed using pathGenerator.centroid. The topojson library converts the TopoJSON data into GeoJSON features.

AI-generated description

Map Of India

MIT Licensed

Similar vizzes