Skip to main content
100%

Selection list with group filter

✓ Published0🌍 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
MIT Licensed

Similar vizzes