Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

215a65e9e5b545a8ac5ffd7ab0aa62c4

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

0 stars0🌍 Public
SSeekerzero
Last edited Feb 27, 2023
Created on Feb 27, 2023

This example renders a world map using D3.js and TopoJSON. It displays continents as light green polygons with faint black borders on a blue sphere, using a natural Earth projection. The code constructs the graticule and land masses via `d3.geoPath` with `d3.geoNaturalEarth1`, and loads country boundaries from the world-atlas GeoJSON. Countries are drawn as SVG paths, with the sphere background filled separately.

AI-generated description