Activity 8 Country
✓ Published1🌍 Public
This example renders a choropleth-style outline of India as an SVG map using D3 v5 and TopoJSON. It loads world atlas data from a CDN, filters the TopoJSON feature for the country named India, and fits a `d3.geoMercator` projection to the shape with `fitSize`. A `d3.geoPath` generator draws the country boundary onto a 960 by 500 SVG canvas. The code demonstrates a minimal workflow for extracting and projecting a single country from global geographic data.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed