Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Ggcappadaniel
Last edited Jun 1, 2020
Created on Jun 1, 2020

This example shows an interactive world map built with D3.js, displaying country boundaries as SVG paths colored light green, with a blue sphere background. The map supports zooming and panning through a d3.zoom behavior, and hovering over a country turns it red. It uses d3.geoNaturalEarth1 for projection and d3.geoPath for generating paths from TopoJSON data loaded from the world-atlas package, with country names joined from a TSV file and displayed as tooltips via SVG `<title>` elements.

AI-generated description
MIT Licensed

Similar vizzes