ICE-8 Q 1.2
✓ Published1🌍 Public
This example renders a choropleth map of India using D3.js v5 and TopoJSON, with each state colored via a categorical scale and labeled with its name. The map uses a Mercator projection and d3.geoPath to draw state boundaries as SVG paths, while state names are positioned using pathGenerator.centroid. The data comes from a remote India GeoJSON file, and the visualization highlights interactivity through a CSS hover effect that turns filled states white.
AI-generated descriptionMap Of India
MIT Licensed