Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

06c1dda9a9d140bb85c54f0e23f61755

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