🌍 Public
Viewing a saved revision (read-only)
9c94a00604ce4797ad7c8021bb2246fa
Vidya Bar graph
This bar chart displays the top 10 countries by total population, with each bar representing a country’s population in thousands. It uses D3.js to sort the data in descending order and render the bars, while the `@curran/responsive-axes` library handles the responsive axes and labels. The visualization adapts to container resizing via `observeResize`, and data comes from the UN population estimates 2024 dataset. A gray inner rectangle highlights the plot area, with bars and axis labels positioned using scales for band and linear mappings.
AI-generated descriptionA responsive bar chart.