Stylized Bar Chart
✓ Published0🌍 Public
A stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React with D3 v5, leveraging `scaleBand` and `scaleLinear` for positioning and sizing, while custom axis components render SVG ticks and labels. Population values are formatted with D3's `format` API, converting gigabytes to billions. Teal bars with light gray gridlines sit on a clean background with the Poppins font, and tooltips appear via SVG `<title>` elements on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed