Skip to main content
100%

Let's make a map with D3.js!

✓ Published2🌍 Public
Ddaigokawabe
Last edited Aug 12, 2020
Created on Aug 2, 2020

This example displays a world map of countries filled with light green and outlined in black, set against a dark blue sphere representing the globe. The visualization uses D3.js v5 and the topojson library to load country boundaries from the world-atlas dataset, then renders them as SVG paths. The code applies a geoNaturalEarth1 projection through d3.geoPath, first drawing the sphere background and then appending a path for each country feature.

AI-generated description
MIT Licensed

Similar vizzes