Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
Mmavercikalvin
Last edited Apr 28, 2023
Created on Apr 28, 2023

This fork of the “Let’s make a map with D3.js!” example renders a world map using an SVG canvas with a natural Earth projection. It uses `d3.geoPath` and `d3.geoNaturalEarth1` to project and draw country boundaries from TopoJSON data loaded via `topojson.feature`. The map displays a blue sphere outline and light green countries with thin black strokes, based on the world-atlas 110m dataset. The code loads D3 v5 and TopoJSON v3 from unpkg, with styling applied via an external CSS file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed