Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a Map

Public visualization

Viewing a saved revision (read-only)

3db7db28241145098e89c3aa14339ac8

Make a Map

0 stars2🌍 Public
Fforeverworld1879
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from Blank Canvas

This example displays a world map using a natural Earth projection, rendering countries and the surrounding sphere. The visualization loads geographic data from the world-atlas TopoJSON dataset, then uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` to generate SVG paths. The map fills landmasses in light green with a subtle black stroke, while the sphere is colored blue. Both the topojson `feature` method and D3’s data join are used to bind and append country paths to the SVG.

AI-generated description