Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as a bar chart with no axes, labels, or other visual encodings beyond the raw rectangle widths. It uses React with hooks (`useState`, `useEffect`) to fetch and load data from the United Nations World Population Prospects 2019 CSV, then renders SVG `<rect>` elements via `d3.scaleBand` for vertical positioning and `d3.scaleLinear` for bar widths. The chart omits all chart furniture, making the bars float against a blank background.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed