🌍 Public
Viewing a saved revision (read-only)
406cbb06a0034dadba1f9c8fd0d3dfe5
RS Let's Make a Map with D3.js
This example displays a natural Earth projection of world countries as light green polygons with black outlines against a blue sphere, rendered as SVG paths. The visualization loads GeoJSON country boundaries from the world-atlas package, converts them using the topojson `feature` function, and projects them with `d3.geoNaturalEarth1` and `d3.geoPath`. The sphere background is drawn first, followed by the country paths, both styled via CSS classes.
AI-generated description