Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Cchaimmaeee
Last edited Nov 26, 2020
Created on Nov 26, 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
MIT Licensed

Similar vizzes