Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Ddominicmecca07@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Simple Bar Chart

This fork of the simple bar chart visualizes the ten most populous countries as of January 1, 2024, using data from the UN Population Estimates. The chart displays each country’s name on the x-axis and its total population in thousands on the y-axis, with bars rendered on a light gray inner rectangle. The implementation uses `d3.scaleLinear` and `d3.scaleBand` for axes, `d3.axisLeft` for the y-axis, and the `@curran/axis-labels` library for axis annotations. The data is filtered from a CSV source using D3's `select` and `descending` functions.

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