Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Xxiaoma1002
Last edited Mar 22, 2020
Created on Mar 21, 2020

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
MIT Licensed

Similar vizzes