Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Zzlastefcia
Last edited Sep 14, 2020
Created on Sep 14, 2020

This example shows a world map rendered with D3.js, displaying country boundaries as light green filled paths against a blue sphere. The visualization uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to project geographic coordinates onto SVG. Country geometries come from the World Atlas TopoJSON dataset, loaded with `d3.json` and converted using the `feature` method from `topojson`. The map highlights the spherical Earth outline with a separate path styled in CSS, while country strokes appear semi-transparent black.

AI-generated description
MIT Licensed

Similar vizzes