Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-8 INDIA MAP

Public visualization

ICE-8 INDIA MAP

0 stars0🌍 Public
Ssreesushmav
Last edited Apr 12, 2023
Created on Apr 10, 2023
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed