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
AAjay Paudel B
Last edited Aug 12, 2022
Created on Aug 12, 2022

This example displays a world map using the Natural Earth projection, with countries filled in light green and the globe’s sphere outlined in blue. It loads GeoJSON data from the world-atlas TopoJSON file, converts it with `topojson.feature`, and renders paths via `d3.geoPath` and `d3.geoNaturalEarth1`. The SVG output is generated entirely in D3 v5, with countries drawn as individual path elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed