Skip to main content
100%

India Map made ith D3

✓ Published1🌍 Public
TTusar
Last edited Jan 23, 2022
Created on Jan 23, 2022

This choropleth map visualizes India’s states using D3 v5, with each state filled by a categorical color scale based on its name. A Mercator projection, configured with custom translation and scaling, renders the TopoJSON geometry as SVG paths, while state labels are placed at each path’s centroid. The code uses `d3.json`, `d3.geoPath`, `topojson.feature`, and a `scaleOrdinal` with `schemeCategory10`, with data loaded from a remote GitHub TopoJSON file.

AI-generated description

The map of India - my country

MIT Licensed

Similar vizzes