🌍 Public
Viewing a saved revision (read-only)
5795fb511d2646348cf1df9b1c5fcfdc
Let's make a map with D3.js!
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