Fork of Stylized Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries for 2020, sourced from United Nations World Population Prospects 2019 data. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population values on the x-axis. The SVG rendering includes custom `AxisBottom` and `AxisLeft` components, with tick labels formatted using D3’s `format` to abbreviate millions as “B”. Each bar is a `rect` element with a native SVG `<title>` tooltip, styled with a teal fill and Poppins font.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed