🌍 Public
Viewing a saved revision (read-only)
9b34f11ee92640358db02750ea5a5866
Fork of Pathetic Bar Chart
This example displays the top 10 most populous countries as a bar chart without any axes, using a "pathetic" style where bars vary only in width. The visualization is built with React and D3 v5, employing `d3.csv` to load United Nations World Population Prospects 2019 data, then `scaleBand` for country positioning and `scaleLinear` for population-based bar widths. The chart renders as SVG rectangles, with data filtered to the first ten rows. The code runs entirely in the browser, initially showing a loading message before rendering the final chart.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.