🌍 Public
Viewing a saved revision (read-only)
634ce2e63f374f5291e4aeaf56586654
Let's make a map with D3.js!
This interactive map visualizes world countries using a D3.js SVG rendering, with an orange fill and red outline that highlights on hover. The map loads geographic data from the world-atlas JSON via `d3.json`, then processes it with the `topojson` library’s `feature` function before projecting it with `d3.geoNaturalEarth1` and `d3.geoPath`. A black sphere background and zoom functionality via `d3.zoom` allow panning and scaling the displayed regions.
AI-generated description