Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Let's make a map with D3.js!

0 stars1🌍 Public
Ssreen020
Last edited Oct 30, 2020
Created on Oct 30, 2020

This example displays an orthographic map of the world, rendered as a blue sphere with grey country outlines. It uses D3’s `geoOrthographic` projection and `geoPath` to draw the sphere and country boundaries, pulling geographic data from the `world-atlas` TopoJSON dataset via `topojson.feature`. The SVG output includes a styled sphere fill and country paths, with interactive rotation not implemented in the shown code.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed