Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as horizontal bars with no axes, using a React component that loads data via `useData` and `d3.csv`. It renders an SVG with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, drawing tick lines, labels, and rectangles. The data comes from the United Nations World Population Prospects 2019, filtered to the first ten rows. Loading state is shown with a "Loading..." message.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed