Skip to main content
100%

Fork for the world map

✓ Published0🌍 Public
Rrohinikotha
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from world map

This visualization displays a global map with countries rendered in yellow against a purple sphere, using a natural Earth projection. The code employs D3 v5’s `select`, `json`, `geoPath`, and `geoNaturalEarth1` functions, alongside the TopoJSON `feature` API to convert topojson country boundaries into SVG paths. The map data is fetched from a GitHub-hosted worldmap.json file, with each country drawn as a filled path with a black stroke. The static SVG canvas is sized at 1600×1000 pixels.

AI-generated description
MIT Licensed

Similar vizzes