Fork of Stylized Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries for 2020, ranked along the vertical axis with population counts on the horizontal axis. Built with React and D3 v5, it uses `d3.csv` to load United Nations World Population Prospects 2019 data, `d3.scaleBand` for the categorical country axis, and `d3.scaleLinear` for population values. SVG rectangles render the bars, with axis components custom-built as React functions and formatted tick labels using `d3.format`. Hovering shows a native tooltip with the population value.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed