Activity 8 Country
✓ Published0🌍 Public
This example displays a map of India rendered as a single SVG path, filled with the default black color on a white background. It loads geographic boundary data from the World Atlas TopoJSON dataset via `d3.json`, filters for the country feature using `topojson.feature`, and fits a `d3.geoMercator` projection to the geometry with `fitSize`. The resulting shape is drawn using `d3.geoPath`, demonstrating a minimal workflow for extracting and projecting a country outline in D3 v5.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed