Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Ffaaty
Last edited Apr 14, 2019
Created on Apr 14, 2019

This example shows a world map rendered as SVG, with countries filled in light green against a blue sphere, using a natural Earth projection to display the globe. The code loads GeoJSON country boundaries from the world-atlas TopoJSON dataset and converts them using the `feature` function from topojson. D3’s `geoPath` and `geoNaturalEarth1` projection generate the geographic paths, while a separate path outlines the spherical backdrop. The visualization is minimal, focusing on a clean, interactive-free display of global landmasses.

AI-generated description
MIT Licensed

Similar vizzes