Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map It

Public visualization

Viewing a saved revision (read-only)

3e852b98528f47c38c7922b491e24140

Map It

0 stars0🌍 Public
DDolbyref113
Last edited Mar 4, 2020
Created on Mar 4, 2020
Forked from Choropleth Map

This visualization uses a natural Earth projection and an ordinal color scale to map countries by their type, with a color legend and zoom interaction. Built with D3 v5, it uses `geoPath`, `geoNaturalEarth1`, `scaleOrdinal`, and `schemeSpectral` to render SVG paths, loading country data from the world-atlas TopoJSON and TSV files. The map colors each country based on its `properties.type`, and hovering highlights the country in red. A color legend shows the scale’s domain, and zoom transforms are applied via `zoom()` events.

AI-generated description