Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js

Public visualization

Viewing a saved revision (read-only)

57cdd1d6aec44bba8e4f5aab062dd796

Let's make a map with D3.js

0 stars1🌍 Public
MMartin Christensen
Last edited Dec 30, 2019
Created on Dec 30, 2019
Forked from Hello VizHub

This example displays a world map with countries rendered as light green SVG paths on a blue sphere, using a natural Earth projection. The code loads geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON with topojson’s `feature` method. It builds the map with d3’s `geoPath` and `geoNaturalEarth1` projection, appending country paths and a sphere outline to the SVG canvas.

AI-generated description