Skip to main content
100%

Fork of Fork of Fork of Responsive Bar Chart

✓ Published0🌍 Public
Jjosiahlikita96@gmail.com
Last edited Jul 14, 2024
Created on Jul 14, 2024

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 description

A responsive bar chart.

MIT Licensed

Similar vizzes