Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3 Choropleth Map with Interactive Filtering

Public visualization

Viewing a saved revision (read-only)

5fe919c5ee8d4009a20d86cf5868aa33

d3 Choropleth Map with Interactive Filtering

0 stars0🌍 Public
NNilla
Last edited Apr 14, 2019
Created on Apr 14, 2019

This choropleth map displays global economic data, coloring each country according to its economy category. Users can click a color in the legend to filter the map, highlighting matching countries and dimming others, with the sphere and non-matching countries reduced in opacity. The visualization uses the d3.geoPath and d3.geoNaturalEarth1 projections to render geographic shapes, while d3.scaleOrdinal and d3.schemeSpectral drive the color assignments. Geographic and tabular data are loaded from the World Atlas TopoJSON and TSV files via d3.json and d3.tsv.

AI-generated description