Fork of Responsive Bar Chart
✓ Published1🌍 Public
This example presents a responsive bar chart of the top 10 most populous countries, using population estimates from the UN. The visualization adapts its dimensions to the container's size through the `observeResize` function from `@curran/responsive-axes`, while the chart itself is rendered with D3's `scaleBand` and `scaleLinear` scales. The `viz` function draws an inner rectangle and bars, and axes are added via the `axes` helper, all sourced from the `@curran/un-population-estimates-2024` dataset.
AI-generated descriptionA responsive bar chart.
MIT Licensed