Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Iianleekq
Last edited Feb 20, 2019
Created on Feb 20, 2019

This visualization shows a world map rendered as light green countries against a blue sphere, using a natural Earth projection. The map is built with D3.js v5 and TopoJSON, loading country boundaries from the world-atlas dataset. The code uses `d3.geoNaturalEarth1` for projection, `d3.geoPath` to generate SVG paths, and `feature` from TopoJSON to extract GeoJSON country features. Each country is drawn as an SVG path with a black stroke, while the overall sphere fill is blue.

AI-generated description
MIT Licensed

Similar vizzes