Skip to main content
100%

Activity8_Task5_Country

✓ Published0🌍 Public
Ssrikkanth05
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example displays a choropleth-style map of India, rendered as a single filled SVG path. The visualization loads world country boundaries from the world-atlas TopoJSON dataset, filters the geometry for India, and applies a Mercator projection fitted to the map’s dimensions. Using d3.geoPath and d3.geoMercator, the code draws the country’s outline with a default black fill, demonstrating a minimal geographic data-binding workflow. The map does not include additional styling, labels, or interactivity, focusing solely on projecting and displaying the national boundary.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes