Fork of Fork of Fork of Responsive Bar Chart
✓ Published0🌍 Public
This example displays a responsive bar chart of the top 10 countries by total population, using data from the UN Population Estimates 2024 dataset. It renders horizontal bars with D3 scales and axes, adapting to its container’s size via `observeResize`. The chart uses `scaleBand` and `scaleLinear` from D3, and the `axes` utility from `@curran/responsive-axes` to generate labeled axes. A light gray inner rectangle fills the plotting area behind the bars.
AI-generated descriptionA responsive bar chart.
MIT Licensed