Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Viewing a saved revision (read-only)

88beb8dc336c4544b5f19a1559256dbc

Let's make a map with D3.js!

0 stars1🌍 Public
Ssteveaigbe
Last edited Nov 21, 2020
Created on Nov 21, 2020

This example shows an interactive world map where countries appear in light green against a blue ocean sphere, using the Natural Earth projection. The visualization loads geographic data from the world-atlas dataset and renders vector paths with SVG. The code imports D3.js functions including geoNaturalEarth1 for the projection, geoPath for generating path data, and select for DOM manipulation. Country boundaries are drawn from TopoJSON features using the topojson library, while styling comes from the attached CSS file.

AI-generated description