Fork of Responsive Bar Chart
✓ Published0🌍 Public
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.
MIT Licensed