🌍 Public
Viewing a saved revision (read-only)
eec5479df81846ffa88e5fa2b76bb09a
Fork of Responsive Bar Chart
This fork of a responsive bar chart presents the ten most populous countries using data from the UN Population Estimates 2024. It displays each country’s total population in thousands, with bars sorted in descending order. The code leverages D3’s `scaleBand` and `scaleLinear` for positioning and scales, while the `vizhub` example uses `observeResize` and axes from the `@curran/responsive-axes` library to maintain chart legibility across different container sizes.
AI-generated descriptionA responsive bar chart.