🌍 Public
Viewing a saved revision (read-only)
63930921c1db4d40907d70a04439f2bf
Responsive Bar Chart
This responsive bar chart displays the top 10 most populous countries as of January 1, 2024, using data from the UN population estimates. It uses d3.scaleBand and d3.scaleLinear to map country names and population values to bar positions and heights. The visualization leverages the `observeResize` helper from `@drbagwell/responsive-viz-axes` for dynamic sizing, and renders axes through the `axes` function. The chart includes a gray inner rectangle behind the bars and uses `d3.select` and `join` for SVG element management.
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