Skip to main content
100%

Fork of Let's make a face with D3.js

✓ Published0🌍 Public
Vvkresha
Last edited Feb 21, 2021
Created on Feb 21, 2021

This example displays a world map in a natural Earth projection, rendered as SVG paths with country boundaries. The visualization uses the `d3.geoPath` and `d3.geoNaturalEarth1` projections from D3 v6, and the `topojson` library’s `feature` function to extract country geometries from the world-atlas TopoJSON data. Country names are loaded from a TSV file and shown as tooltips on hover. The map highlights countries in light green, which turn red on mouse-over, with a blue sphere outline.

AI-generated description
MIT Licensed

Similar vizzes