🌍 Public
Viewing a saved revision (read-only)
dfaedfec679b415998546da4022e2dcd
Activity 8 Country
This example displays a map of India using a Mercator projection. It fetches country boundary data from the world-atlas TopoJSON source, isolates the geometry for India, and renders it as a single SVG path using `d3.geoMercator()` and `d3.geoPath()`. The code highlights a minimal workflow for drawing a single country with D3.
AI-generated descriptionA demonstration of how to start using D3 version 6.