Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This fork of the "Pathetic Bar Chart" displays the ten most populous countries as horizontal bars without any axes, using React to manage state and D3.js to load and scale the data. It fetches the 2019 UN World Population Prospects CSV, parses it with `d3.csv`, and renders the bars as SVG `rect` elements. The `scaleBand` maps country names to x-positions, while a reversed `scaleLinear` maps population values to bar heights, with the y-axis inverted for visual effect.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed