Skip to main content
100%

Fork of Anime Bar Chart

✓ Published0🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024
Forked from Simple Bar Chart

This bar chart displays the top 10 most populous countries as of January 1, 2024, using a horizontal bar layout where each bar’s length represents total population in thousands. The visualization uses D3’s `scaleBand` and `scaleLinear` to map country names and population values, with axes drawn via `axisLeft` and custom `xAxis`/`yAxis` helpers. It filters the UN population estimates dataset for country-type entries, sorts them in descending order, and renders the top ten. The chart includes labeled axes, a grey inner rectangle for focus, and styled bars via `rect.mark` elements.

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