Fork of Anime Bar Chart
✓ Published0🌍 Public
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 descriptionA 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