Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed