Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork for the world map

Public visualization

Fork for the world map

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed