Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets build a map

Public visualization

Lets build a map

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed