Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map w Interactions

Public visualization

Viewing a saved revision (read-only)

0abe574e9c94423ab2dc68264e2b8a68

Choropleth Map w Interactions

0 stars0🌍 Public
Llrakla
Last edited Dec 30, 2021
Created on Dec 29, 2021
Forked from Choropleth Map

This choropleth map displays global economic groups using an ordinal color scale, where each country is colored by its economy category. Users can click legend items to highlight matching countries while dimming others, and hover over countries to see their name and economy value in a tooltip. The visualization uses d3.geoNaturalEarth1 projection with d3.geoPath to render country boundaries, and incorporates d3.scaleOrdinal with a spectral color scheme for categorical coloring. The map includes zoom functionality via d3.zoom, and data is loaded from the world-atlas package using d3.tsv and topojson.feature.

AI-generated description