Skip to main content
100%

Let's make a map with D3.js!

✓ Published3🌍 Public
NNecklessCage
Last edited Apr 12, 2020
Created on Apr 12, 2020

A world map rendered in SVG shows country boundaries as light green paths against a dark blue sphere, using a Natural Earth projection. The code loads world-atlas TopoJSON data from unpkg, converts it to GeoJSON with `topojson.feature`, and draws each country with `d3.geoPath`. The sphere outline is generated from a projected GeoJSON sphere object. D3 v5 handles the asynchronous JSON loading and DOM selection.

AI-generated description
MIT Licensed

Similar vizzes