Skip to main content
100%

Fork of Responsive Bar Chart

✓ Published1🌍 Public
Gg_ivaska@coloradocollege.edu
Last edited Apr 30, 2024
Created on Apr 30, 2024

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 description

A responsive bar chart.

MIT Licensed

Similar vizzes