Skip to main content
100%

Fork of Activity 8 Country

✓ Published0🌍 Public
Rrushithareddyy
Last edited Jul 16, 2023
Created on Jul 16, 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 dataset, filters the geometries to isolate India, and applies a Mercator projection fitted to the country’s bounding box. The code uses d3.json, topojson.feature, d3.geoMercator, and d3.geoPath to generate the map. The final visualization draws a static outline of India with no additional styling or interactivity.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes