🌍 Public
Viewing a saved revision (read-only)
0945fc1b0bf94020a91380e8719e63b9
Fork of Responsive Bar Chart
This responsive bar chart displays the top 10 countries by total population as of January 1, 2024, using data from the UN population estimates. The chart uses D3's `scaleBand` and `scaleLinear` to map country names and population values, with bars rendered as SVG rectangles. It leverages the `observeResize` and `axes` functions from the `@curran/responsive-axes` library to adapt the chart’s dimensions and axis labels to the container’s size. The visualization includes an inner grey rectangle and explicit margins for a clean layout.
AI-generated descriptionA responsive bar chart.