Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example presents the top 10 most populous countries as a series of unlabeled, axis-less bars rendered as SVG rectangles. The bars stretch horizontally across the viewport based on each country’s 2020 population estimate, with no tick marks, scales, or other chart furniture. The visualization uses React hooks (useState, useEffect) to fetch and parse United Nations World Population Prospects 2019 data via d3.csv, then applies d3.scaleBand for vertical country positioning and d3.scaleLinear for bar widths. While loading, a large “Loading...” message appears in place of the chart.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed