Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Ffahmijaafar
Last edited Dec 6, 2019
Created on Dec 5, 2019

This example shows an interactive world map rendered in SVG, with countries displayed in dark green against a dark blue sphere. Hovering highlights each country in red, and users can zoom and pan using the mouse. It uses D3 v5 with `d3.geoPath` and `d3.geoNaturalEarth1` for geographic projection, `d3.zoom` for interaction, and TopoJSON to load world boundaries. The map pulls country names from a TSV file paired with the world-atlas 50m JSON dataset.

AI-generated description
MIT Licensed

Similar vizzes