Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This visualization displays the ten most populous countries as a set of horizontal bars with no axes, labels, or other chart furniture. The bars are rendered as SVG rectangles using React, with their widths scaled linearly by each country’s 2020 population estimate from the United Nations World Population Prospects dataset. The code uses d3.csv to load the data, d3.scaleBand for the vertical positioning of each country, and d3.scaleLinear for mapping population to bar width. The chart updates once the data arrives, showing a "Loading..." state initially.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed