🌍 Public
Viewing a saved revision (read-only)
028383f4cf4b4293a9e0036c97276904
Activity_8-Task_5(2)
This example displays a single country, India, as a static SVG map rendered from TopoJSON world data. The code extracts the India geometry from the world-atlas dataset using the topojson-client API, then applies a Mercator projection with d3.geoPath to draw the country’s boundaries. The map is centered and scaled to fit a 960×500 pixel viewport, demonstrating a minimal setup for geographic visualization with D3 v5.
AI-generated descriptionA demonstration of how to start using D3 version 6.