Stylized Bar Chart
✓ Published0🌍 Public
This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. It uses React to render SVG elements, with d3.scaleBand for the categorical y-axis, d3.scaleLinear for the population x-axis, and d3.format to abbreviate tick labels from gigabytes to billions. The chart includes styled ticks, a Poppins font, and a tooltip showing each bar’s exact value via an SVG `<title>` element.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed