Skip to main content
100%

ICE 08 11540905 India Map

✓ Published3🌍 Public
Nnagasai-gummadi
Last edited Mar 30, 2023
Created on Mar 29, 2023
Forked from IndiaMap

This example displays a choropleth map of India with each state filled by a categorical color and labeled with its name. It uses a D3 geoMercator projection with custom translation and scaling to position the map, and d3.geoPath to generate SVG paths from TopoJSON data. State names are placed using pathGenerator.centroid, and hover effects change the fill to wheat. The visualization leverages d3.select, scaleOrdinal with schemeCategory10, and topojson’s feature method, with data loaded from a GitHub gist.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes