🌍 Public
Viewing a saved revision (read-only)
c72d2a4fd65f4848af77178ffc65b168
Fork of Fork of styling dropdown and working...Fork 999 of Stylized Bar Chart
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 descriptionA program that shows the top 10 most populous countries as a bar chart.