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
Cchaimmaeee
Last edited Nov 25, 2020
Created on Nov 25, 2020

This example demonstrates how to build a geographic map of the world using D3.js, rendering landmasses as light green countries with a dark blue ocean sphere. The visualization uses the Natural Earth projection through `d3.geoNaturalEarth1` and projects geographic coordinates onto an SVG canvas via `d3.geoPath`. It loads world topology data from the World Atlas TopoJSON file using `topojson.feature` to extract country boundaries. The code also includes a YouTube tutorial embed in the README, showing the learning process behind creating the map.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed