Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as a horizontal bar chart using React and D3 v5. The chart ranks countries by 2020 population estimates, with bars rendered as SVG rectangles using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Axis components generate ticks and labels, while hover tooltips appear via SVG `<title>` elements. The data is loaded from a CSV file from the United Nations World Population Prospects 2019 using `d3.csv`, with population values converted from thousands.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed