Skip to main content
100%

Let's make an interactive map with D3.js!

✓ Published1🌍 Public
Iiascchwen
Last edited Dec 3, 2019
Created on Nov 26, 2019

This interactive map visualizes world countries with hover highlighting, displaying country names as tooltips. It uses the D3.js v5 library with the `geoNaturalEarth1` projection and `geoPath` for rendering map features. The visualization loads geographic data from the world-atlas package, combining TSV metadata and TopoJSON geometry, while `topojson.feature` processes the country boundaries. The map supports zooming through D3’s `zoom` event, and renders as an SVG with styling for the ocean sphere and landmasses.

AI-generated description
MIT Licensed

Similar vizzes