Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data, loaded via `d3.csv`. The visualization uses `d3.scaleBand` for categorical country labels and `d3.scaleLinear` for population values, rendered as SVG rectangles through React components. Custom React components encapsulate the axes and marks, with formatted tick labels using `d3.format` to abbreviate billions. The chart updates via React hooks (`useState`, `useEffect`), and includes interactive tooltips showing precise population values on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed