🌍 Public
Viewing a saved revision (read-only)
9b1986a320a8417da20f99f9bbc66dfd
Activity 8 Country
This visualization displays a map of India using geographic data from the world-atlas TopoJSON dataset. The code extracts India’s geometry with `topojson.feature` and projects it using `d3.geoMercator` with `.fitSize` to center the country within a 960×500 SVG canvas. A single path is drawn via `d3.geoPath`, rendering India's borders as a simple, unadorned silhouette. The example demonstrates basic map projection and TopoJSON handling in D3 v5, using SVG for output.
AI-generated descriptionA demonstration of how to start using D3 version 6.