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)

b1362218d8464feb88c5c35a8e106c25

Let's make a map with D3.js

0 stars1🌍 Public
Ppkcesar
Last edited May 17, 2020
Created on May 17, 2020

This example displays a world map rendered as an SVG using a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`. It draws countries in green with black strokes atop a blue sphere outline. The map loads TopoJSON data from the world-atlas package, converting it to GeoJSON with `feature` from the TopoJSON library. The visualization highlights the simplicity of projecting geographic data into an interactive-free static SVG using D3 v5.

AI-generated description