Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world_map

Public visualization

Viewing a saved revision (read-only)

9232f5499c2a4776b34b4f0b5c49625c

world_map

0 stars0🌍 Public
IInnoFail
Last edited Oct 18, 2021
Created on Oct 18, 2021

This example visualizes world countries colored by economic classification using a natural Earth projection. The map supports zooming and panning, with hover highlighting and tooltips showing country names and economic categories. Built with D3 v5 and TopoJSON, it loads world atlas data from unpkg, utilizes `d3.geoNaturalEarth1` and `d3.geoPath` for geographic rendering, and applies a spectral color scale via `d3.scaleOrdinal` and `d3.schemeSpectral`. SVG paths enable interactive styling and title tooltips.

AI-generated description