Skip to main content
100%

Lets build a map

✓ Published2🌍 Public
JJoseph Popoola
Last edited Feb 12, 2020
Created on Feb 12, 2020
Forked from Smiley Face

This example visualizes the world’s countries as a natural Earth projection map. The visualization renders the globe’s sphere as a blue backdrop, then overlays each country as a light green SVG path with a dark green stroke. It uses d3.geoNaturalEarth1, d3.geoPath, and d3.json, along with the topojson feature function to convert the world-atlas GeoJSON Topology into map geometries. The map is drawn into an SVG canvas, with the sphere and country paths styled via CSS classes.

AI-generated description
MIT Licensed

Similar vizzes