Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Responsive Bar Chart

Public visualization

Viewing a saved revision (read-only)

eec5479df81846ffa88e5fa2b76bb09a

Fork of Responsive Bar Chart

0 stars0🌍 Public
Bbjmo21@student.bth.se
Last edited Nov 7, 2024
Created on Nov 7, 2024

This fork of a responsive bar chart presents the ten most populous countries using data from the UN Population Estimates 2024. It displays each country’s total population in thousands, with bars sorted in descending order. The code leverages D3’s `scaleBand` and `scaleLinear` for positioning and scales, while the `vizhub` example uses `observeResize` and axes from the `@curran/responsive-axes` library to maintain chart legibility across different container sizes.

AI-generated description

A responsive bar chart.