Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Ssriramvsharma
Last edited Nov 16, 2020
Created on Nov 14, 2020

This example displays a world map using a natural Earth projection, with each country rendered as a light green SVG path. The visualization loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON using the topojson feature function. D3 v5’s geoNaturalEarth1 projection and geoPath generator handle the map’s shape and layout. The map appears static, with country borders outlined in black and a subtle stroke opacity, though no sphere or ocean background is drawn.

AI-generated description
MIT Licensed

Similar vizzes