Skip to main content
100%

Animals Bar Chart

✓ Published0🌍 Public
SSophia Oku
Last edited Sep 6, 2024
Created on Sep 6, 2024
Forked from Simple Bar Chart

This bar chart displays the ten most populous countries as of January 1, 2024, with country names on the x-axis and population in thousands on the y-axis. The visualization is built using D3.js, specifically leveraging `scaleBand` and `scaleLinear` for positioning, along with axis functions like `axisLeft`. The code filters data from the `@curran/un-population-estimates-2024` source, sorts by the population column, and renders bars within an inner rectangle. It also integrates custom `xAxisLabel` and `yAxisLabel` utilities from `@curran/axis-labels` for clear axis annotations.

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