Fork of Stylized Bar Chart
✓ Published0🌍 Public
This visualization displays the top 10 most populous countries using a horizontal bar chart, with population values formatted in billions (e.g., "G" replaced by "B"). The chart is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and loading data from a CSV of the United Nations World Population Prospects 2019 via `useData`. SVG rectangles represent each bar, while `AxisBottom` and `AxisLeft` generate ticks and labels, with styling applied through CSS classes. Native SVG `<title>` elements provide tooltips.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed