India Map ICE-8
✓ Published4🌍 Public
Ggaddamthanmayeereddy759@gmail.com
Last edited Apr 2, 2024
Created on Mar 29, 2024
This example presents a choropleth-style map of India’s administrative regions, colored by each state’s name using a categorical scale. The map is rendered as SVG with D3.js v5, using `d3.geoMercator` for projection and `d3.geoPath` to generate shapes. TopoJSON data is loaded from a GitHub gist and converted to GeoJSON via the `topojson` library. State labels are placed at polygon centroids, while hovering highlights a region in yellow. The background uses a soft linear gradient, and each state’s name appears as a tooltip.
AI-generated descriptionMIT Licensed