Skip to main content
100%

Fork of Fork of styling dropdown and working...Fork 999 of Stylized Bar Chart

✓ Published0🌍 Public
88Tigers2020
Last edited Jul 21, 2021
Created on Jul 21, 2021

This bar chart displays the 10 most populous countries with selectable yearly population data. A dropdown menu lets viewers switch between years from 2008 to 2019, updating the bar heights accordingly. The chart renders SVG elements using React components, with D3 v5 utilities like `scaleBand` and `scaleLinear` handling the axes and scales. Data comes from the UN World Population Prospects 2019 dataset, loaded via `d3.csv`, with tooltips showing formatted population values.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes