ICE-8 INDIA MAP
✓ Published0🌍 Public
This example visualizes the states of India as colored polygons, with each state filled by a categorical color from d3.scaleOrdinal and labeled with its name. It uses d3.geoMercator for projection and d3.geoPath to render the TopoJSON geometry into SVG paths. The map displays state borders with black strokes and positions name labels at each state’s centroid. Data comes from a remote TopoJSON file of Indian administrative boundaries, processed via the topojson library’s `feature` method.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed