Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js!

Public visualization

Viewing a saved revision (read-only)

7b748eb45b0d4203813cb391dda87a74

D3.js!

0 stars0🌍 Public
Kklumng
Last edited Feb 10, 2023
Created on Feb 10, 2023

This example displays world countries as light green shapes on a dark blue sphere, using the Natural Earth 110m dataset. It employs d3.geoPath with a d3.geoNaturalEarth1 projection to render the map, and fetches TopoJSON via the topojson library's feature function. The SVG output is generated with D3 v5, with the sphere and country paths styled through CSS classes.

AI-generated description