Skip to main content
100%

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

✓ Published0🌍 Public
Hhewitt99
Last edited Nov 10, 2023
Created on Nov 7, 2023

This map visualization displays world countries as filled regions on a globe-like sphere using a natural Earth projection. The example demonstrates map creation with D3.js version 5, using `d3.geoPath` and `d3.geoNaturalEarth1` for the projection. Country boundaries are rendered as SVG paths from the world-atlas TopoJSON dataset, which is processed through the `topojson` library's `feature()` function. The sphere is styled blue, while country shapes appear in light green with subtle black stroke outlines.

AI-generated description
<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/Qw6uAg3EO64?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
MIT Licensed

Similar vizzes