Skip to main content
100%

Make a Map

✓ Published2🌍 Public
Fforeverworld1879
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from Blank Canvas

This example displays a world map using a natural Earth projection, rendering countries and the surrounding sphere. The visualization loads geographic data from the world-atlas TopoJSON dataset, then uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` to generate SVG paths. The map fills landmasses in light green with a subtle black stroke, while the sphere is colored blue. Both the topojson `feature` method and D3’s data join are used to bind and append country paths to the SVG.

AI-generated description
MIT Licensed

Similar vizzes