Skip to main content
100%

Fork of Responsive Bar Chart

✓ Published0🌍 Public
VVishalojha9111@gmail.com
Last edited Jul 24, 2024
Created on Jul 24, 2024

This responsive bar chart visualizes the top 10 countries by total population using data from the UN Population Estimates 2024, sourced via `@curran/un-population-estimates-2024`. It ranks countries along the x-axis against population (in thousands) on the y-axis, with a light gray inner rectangle framing the plot area. The visualization adapts its dimensions to the container using `observeResize` from `@curran/responsive-axes`, and leverages D3’s `scaleBand` and `scaleLinear` for scales, `axisLeft`, and declarative SVG joins to render axes and bars.

AI-generated description

A responsive bar chart.

MIT Licensed

Similar vizzes