🌍 Public
BMI Bar Chart
This bar chart displays the total population estimates for the top 10 countries by population, using data from the UN population estimates. The visualization uses D3.js with `scaleBand` and `scaleLinear` to map country names to bar positions and population values to bar heights, while `axisLeft` and the `axes` utility from `@curran/responsive-axes` render the axes. The chart highlights a light gray inner rectangle behind the bars to separate the plotting area, and it sorts the data in descending order using `descending` to show the most populous countries first.
AI-generated descriptionA responsive bar chart.
MIT Licensed








Comments
Sign in to join the discussion.