Skip to main content
100%

Map D3

✓ Published0🌍 Public
Sshanmango
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from Face D3

This example displays a world map with light green countries on a dark blue background, rendered as SVG paths. The map uses the natural Earth projection and draws country boundaries with a thin black stroke. The code relies on the D3.js library, specifically `d3.geoPath` and `d3.geoNaturalEarth1`, along with the TopoJSON `feature` function to process GeoJSON data from the world-atlas package. Each country is drawn as a separate SVG path element generated from the projected coordinates.

AI-generated description
MIT Licensed

Similar vizzes