Skip to main content
100%

Fork of Activity 8 Country

✓ Published0🌍 Public
BBhavanaGIrni
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Activity 8 Country

This example displays a choropleth-style map of India rendered as a single SVG path. It loads world country boundaries from the world-atlas TopoJSON file, extracts India’s geometry using `topojson.feature`, and fits a `d3.geoMercator` projection to the country’s shape with `fitSize`. The map is drawn using a `d3.geoPath` generator, producing a simple outline without internal administrative divisions or additional data encoding.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes