Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
Ggurkenstock@gmail.com
Last edited Jul 26, 2024
Created on Jul 26, 2024

This example displays a world map with countries filled in light green against a blue sphere, rendered as SVG using D3.js v5 and TopoJSON. It uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` to draw country boundaries from the world-atlas dataset. The sphere is drawn as a single path, and country features are generated with TopoJSON’s `feature` method before being appended to the SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed