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)

d73c9cc248aa4906a21485a996e36ce9

Let's make a map with D3.js

0 stars0🌍 Public
JJake
Last edited Jul 15, 2020
Created on Jul 15, 2020

This example shows a world map rendered as SVG paths with light green countries outlined in black. It uses D3.js v5 to load GeoJSON data from the World Atlas TopoJSON dataset via `topojson.feature`, then projects the coordinates using the `geoConicConformal` projection and draws the paths with `geoPath`. The code employs D3's `json` loader for the remote file and appends each country path to an SVG container.

AI-generated description