🌍 Public
Viewing a saved revision (read-only)
af15a6056c444c1aa3bc71bcbd7ebe5e
Let's make a map with D3.js
This example shows a world map rendered with D3.js using the geoEqualEarth projection, with countries filled in green and a blue sphere background. It demonstrates geographic data visualization by loading the world-atlas TopoJSON dataset and converting it to GeoJSON features via topojson.feature. The map uses d3.geoPath with the projection to draw SVG paths. The code also imports additional projections like geoMercator and geoOrthographic, though only equal-earth is applied here.
AI-generated description