Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example visualizes the ten most populous countries as horizontal bars, using the United Nations World Population Prospects 2019 dataset. The chart intentionally omits axes, scales, or labels, relying solely on bar lengths to convey relative population sizes. Built with React and D3 v5, the code uses `d3.scaleBand` for the vertical country positions and `d3.scaleLinear` for the bar widths, rendering each bar as an SVG `rect` element. The data is loaded via `d3.csv` and filtered to the top ten entries.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed