Population over the years
✓ Published1🌍 Public
A horizontal bar chart displays the populations of the top 15 countries for a selected year, using data from the United Nations World Population Prospects 2019. A dropdown menu lets the viewer change the year, updating the bar lengths accordingly. The visualization uses React with D3 v5 scales (`scaleBand` and `scaleLinear`) to position bars and axes, and renders SVG elements for the chart. Population values are formatted using D3's `format` with SI prefixes, and each bar includes a tooltip showing the exact value.
AI-generated descriptionShow the top 10 countries populations over a range of years. Allow the user to select the year to view.
MIT Licensed