Fork of Refactored Bar Chart
✓ Published0🌍 Public
This chart displays the top 10 most populous countries for 2020 as horizontal bars, with country names on the y-axis and population counts on the x-axis. It uses React components to render D3 scales and SVG marks, with `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. The data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Axes are drawn as custom React components with tick lines and labels, while the bars are simple SVG rectangles.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed