Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Swanton's Travels

Public visualization

Swanton's Travels

0 stars0🌍 Public
Jjons288
Last edited Dec 18, 2018
Created on Dec 18, 2018

A choropleth map displays world countries colored by income group, with a color legend for filtering. Clicking a country highlights it and dims all others; clicking again resets. The map uses D3's `geoNaturalEarth1` projection with `geoPath` for rendering shapes, and supports zooming via the `zoom` event. Data is loaded from a CSV of travelers and a TopoJSON world atlas, processed with `topojson.feature`. An ordinal spectral color scale maps economy categories.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed