Fork of Fork of Stylized Bar Chart
✓ Published1🌍 Public
This example displays the ten most populous countries as horizontal bars, with country names on the y-axis and population totals on the x-axis, formatted in billions. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to position bars and axes, rendered as SVG rectangles with native tooltips. The data comes from the United Nations World Population Prospects 2019 CSV, loaded via `d3.csv` and sliced to the top ten entries.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed