🌍 Public
Viewing a saved revision (read-only)
83ff177aeef0459898a9eb6f7726ea65
Pathetic Bar Chart
This example displays the top 10 most populous countries as horizontal bars without any axes, labels, or scales, filling the viewport with oversized rectangles. The chart uses React hooks to fetch and process data from the United Nations World Population Prospects 2019 dataset via `d3.csv`, then renders SVG `rect` elements positioned by `d3.scaleBand` and `d3.scaleLinear`. The code applies no styling or annotations, intentionally presenting bare data values as a deliberately minimal and ironic visualization.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.