Let's make a d3 map with Tricks
✓ Published1🌍 Public
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 descriptionMIT Licensed