Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Iiffath.namira@csedge.org
Last edited Jan 10, 2025
Created on Jan 10, 2025
Forked from Simple Bar Chart

This fork of a simple bar chart visualizes the top 10 most populous countries in 2024, using data from the UN population estimates. The chart shows population counts in thousands, with each bar labeled by country name. The visualization uses D3's `scaleBand` and `scaleLinear` for axes, along with `axisLeft` and `x`/`y` axis label functions from the `@curran/axis-labels` library. A light gray inner rectangle highlights the plot area, and the bars are rendered as `rect` elements. The data is sorted in descending order and filtered to only include country or area types before selecting the top 10.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data
MIT Licensed

Similar vizzes