Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Hhlkyt
Last edited Jun 7, 2020
Created on Jun 3, 2020

A world map drawn with D3.js shows country boundaries as SVG paths projected with the Natural Earth projection, with a dark sphere as the background. The visualization loads geographic data from the world-atlas TopoJSON file and renders each country as a filled path. Interactive mouseover and mouseout events change the fill color and stroke width of individual countries, providing immediate visual feedback. The code uses D3 v5 functions such as `geoPath`, `geoNaturalEarth1`, and `select` alongside the TopoJSON `feature` API.

AI-generated description
MIT Licensed

Similar vizzes