🌍 Public
Viewing a saved revision (read-only)
3be63590a5234f0ca210223ca3453e1f
Activity 8 Country
This example displays a map of India created from world atlas TopoJSON data. It loads the country geometries from the `world-atlas` package and uses `topojson.feature` to extract India's boundary, projecting it with `d3.geoMercator` and drawing the path via `d3.geoPath`. The resulting SVG renders the country’s outline in a 960 by 500 viewport, demonstrating a straightforward geographic visualization with D3 v5.
AI-generated descriptionA demonstration of how to start using D3 version 6.