Stylized Bar Chart
✓ Published1🌍 Public
This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The React-based visualization renders horizontal bars with SVG rectangles, using d3.scaleBand for the categorical country axis and d3.scaleLinear for the population values. D3's format function converts large numbers to abbreviated labels, while custom axis components draw tick marks and text. A tooltip, implemented with SVG `<title>` elements, shows the precise population on hover. The chart uses a clean Poppins font and a teal color scheme against muted gray axes.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed