Skip to main content
100%

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

✓ Published1🌍 Public
TToooooooT
Last edited Sep 18, 2022
Created on Sep 18, 2022

This example visualizes a world map using a natural Earth projection, rendering countries as light green paths with dark strokes on a blue spherical backdrop. It loads geographic data from a world-atlas TopoJSON file via `d3.json`, then applies the `topojson` library’s `feature` function to extract country features. The SVG paths are generated using `d3.geoPath` and the `d3.geoNaturalEarth1` projection, which also draws the sphere outline. The input data source is the unpkg-hosted world-atlas dataset, and the rendering is entirely vector-based, using SVG elements styled by the included CSS.

AI-generated description
MIT Licensed

Similar vizzes