Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Selection list with group filter

Public visualization

Viewing a saved revision (read-only)

d14b30e9372a46dc80d4aa4cba8b49e0

Selection list with group filter

0 stars0🌍 Public
Ggjonor
Last edited Feb 16, 2020
Created on Feb 15, 2020

A horizontal bar chart displays the top economies by GDP, filterable by World Bank country classifications through a select dropdown. The selection list, populated from a TSV file using d3.tsv and d3.nest, groups countries by codes like “Arab World” and “Euro area.” React state updates the chart data, and d3.scaleBand, d3.scaleLinear, d3.axisLeft, and d3.axisBottom render the SVG bars and axes, with GDP values from World Bank data shown in current U.S. dollars.

AI-generated description