Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a Map!

Public visualization

Viewing a saved revision (read-only)

e85dfc0388054f21817384d9b7865c86

Let's make a Map!

0 stars1🌍 Public
ZZY Huang
Last edited Apr 25, 2020
Created on Apr 25, 2020

This example displays a world map of countries as light green shapes against a dark blue spherical background, using a Mercator projection. It loads geographic data from the world-atlas TopoJSON dataset and renders it as SVG paths with d3.geoPath. The code employs d3-geo projections, topojson.feature for extraction, and a select-all data join to bind country features to path elements.

AI-generated description