Deaths
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries, using horizontal bars to compare 2020 population estimates from the United Nations World Population Prospects 2019. Each bar’s length encodes population with a linear scale, while country names appear on a band scale. Built with React and D3 v5, it renders SVG rectangles via the `Marks` component, with axes from `AxisBottom` and `AxisLeft`, and formats tick labels using D3’s `format` function. Data is loaded asynchronously with `d3.csv` and truncated to the first ten rows.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed