Skip to main content
100%

Let's make a d3 map with Tricks

✓ Published1🌍 Public
AAlex Arobelidze
Last edited Jul 27, 2020
Created on Jul 27, 2020

This example presents an interactive world map rendered as SVG using d3.geoNaturalEarth1 and d3.geoPath, with country boundaries drawn from TopoJSON data loaded from the world-atlas package. Hovering over a country highlights it in red, and d3.zoom enables panning and zooming on the map. Country names come from a TSV file matched by ISO numeric codes, while a light blue sphere path provides the ocean background.

AI-generated description
MIT Licensed

Similar vizzes