Maps
✓ Published0🌍 Public
This example presents two static SVG maps built with D3 v7 and TopoJSON. The first shows a world map using the `world-atlas@2` countries-110m dataset, rendered with a `d3.geoNaturalEarth1()` projection and a graticule layer. The second focuses on India, using a `d3.geoMercator()` projection centered on the country, with state boundaries loaded from a separate geoBoundaries ADM1 file. Both maps use `d3.geoPath` to convert GeoJSON features into SVG paths, with country and state outlines styled distinctly.
AI-generated descriptionMIT Licensed