Skip to main content
100%

Fork of Let's make a map with D3.js!

✓ Published0🌍 Public
BBRIAN JORAM WANDOBIRE
Last edited Jul 4, 2022
Created on Jul 4, 2022

This example displays world countries as light-green filled polygons on a blue sphere, using a natural Earth projection. It loads country boundaries from the World Atlas TopoJSON dataset and renders them as SVG paths via `d3.geoPath` and `d3.geoNaturalEarth1`. The visualization includes a background sphere path and applies thin black strokes with low opacity to country borders. The code relies on `d3.json` for data fetching and `topojson.feature` to convert TopoJSON to GeoJSON features.

AI-generated description
MIT Licensed

Similar vizzes