Fork of Stylized Bar Chart
✓ Published0🌍 Public
This visualization displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population counts (converted from UN data to billions) on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the ordinal y-axis, `scaleLinear` for the x-axis, and `format('.2s')` to abbreviate tick labels. The code renders SVG elements through components like `AxisBottom` and `Marks`, loading data from the United Nations World Population Prospects 2019 via `csv()`. Teal bars with a Poppins font and minimal axes create a clean, stylized presentation.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed