Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Yylzami40
Last edited Nov 28, 2019
Created on Nov 28, 2019

This example uses D3.js to render a world map on an SVG canvas, with each country filled in light green and the globe projected using a Natural Earth projection. It displays country names as tooltips by merging data from the World Atlas TopoJSON and TSV files. The map supports zoom interaction through D3's zoom behavior, and hover states highlight countries in red. The code relies on d3.geoPath, d3.geoNaturalEarth1, topojson.feature, and d3.json/tsv for data loading.

AI-generated description
MIT Licensed

Similar vizzes