Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map with Interactive Filtering

Public visualization

Viewing a saved revision (read-only)

b1c333744afa4408bbc03316d592d86b

Fork of Choropleth Map with Interactive Filtering

0 stars0🌍 Public
Hhberrong
Last edited Mar 5, 2021
Created on Mar 5, 2021

This choropleth map displays world countries colored by income group, with an interactive color legend that filters the map when clicked. Hovering reveals country names and values via tooltips. Built with D3 v5, it uses `d3.geoPath` with the Natural Earth projection and `d3.scaleOrdinal` with the Spectral scheme. The data comes from the World Atlas TopoJSON and TSV files, and the code employs `d3.select`, `d3.event`, and a `zoom` function for panning and zooming.

AI-generated description

A choropleth map where you can hover over items in the color legend items to interactively filter!