Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Yyudhi115
Last edited Jun 17, 2020
Created on Jun 17, 2020
Forked from Blank Canvas

This visualization displays world countries as light green polygons on a sky-blue sphere, using D3.js v5 and TopoJSON. It loads world-atlas data from unpkg and renders an SVG map with a Natural Earth projection via d3.geoNaturalEarth1 and d3.geoPath. The sphere outline is drawn first, followed by country features extracted from the TopoJSON topology using the topojson.feature API; each country path gets a thin black stroke with reduced opacity from the accompanying CSS.

AI-generated description
MIT Licensed

Similar vizzes