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)

bc7fcd116ab24f2ca8df47ca3ce7cb3b

Let's make a map with D3.js

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Jul 28, 2021
Created on Jul 28, 2021

This example displays a world map using the Natural Earth dataset from the `world-atlas` package. The map is rendered by projecting geographic coordinates with a Natural Earth projection and drawing the countries as SVG paths. It uses D3.js v7 APIs such as `geoPath` and `geoNaturalEarth1`, along with the `topojson` library’s `feature` function to convert TopoJSON data into features.

AI-generated description