Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example displays the ten most populous countries as horizontal bars, with bar length encoding population size and no axes or labels. It uses React hooks to fetch and manage data from the United Nations World Population Prospects 2019 CSV, then renders SVG rectangles with d3.scaleBand for vertical positioning and d3.scaleLinear for bar widths. The visualization updates asynchronously after loading, showing a loading state until the data arrives.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed