Skip to main content
100%

India Map Country

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from D3 Starter

This example displays a map of India with its state boundaries, rendered as an SVG using D3.js. Each state is drawn as a sky-blue path with black strokes and labeled with its name. The visualization uses `d3.geoMercator()` projection with `projection.fitExtent()` to fit the map to the viewport, and state boundaries are converted from TopoJSON data using `topojson.feature`. Hovering over a state highlights it in orange via CSS, while state names are placed at path centroids with `d3.geoPath()`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes