Let's make a map with D3.js!
✓ Published0🌍 Public
This example shows a world map rendered as an SVG using D3.js, with countries filled in light green and a blue sphere for the globe. It uses the `geoNaturalEarth1` projection and `geoPath` to draw country boundaries from TopoJSON data loaded from the `world-atlas` package. The code demonstrates basic data joining: it fetches the dataset with `json`, converts TopoJSON features using `feature`, and appends a `path` element for each country. The map fully occupies the viewport with hidden page overflow.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed