🌍 Public
Viewing a saved revision (read-only)
f9dc2e5391ea47e6a665706509c74e30
fpbc
This example visualizes the top 10 most populous countries as a simple bar chart, with each bar’s width proportional to its 2020 population and no axes or labels. The data comes from the United Nations World Population Prospects 2019, fetched via `d3.csv`. React manages the component state, while `scaleBand` and `scaleLinear` from D3 v5 map country names and population values to SVG rectangle positions and widths. The chart intentionally lacks chart furniture, making it a stark, minimal presentation.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.