🌍 Public
Viewing a saved revision (read-only)
6307b1e8143540cc8bc25b31dd602969
Pathetic Bar Chart
This example presents the top 10 most populous countries as a bare bar chart with no axes or labels, rendering each bar as a simple visual proportion. It loads data from a CSV file of the United Nations World Population Prospects 2019 via `d3.csv`, extracts the 2020 population values, and slices the first 10 rows for display. Built with React and D3 v5, the chart uses `d3.csv` and React state management to fetch and store the data, while the lack of axes emphasizes the raw magnitude of population differences.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.