🌍 Public
Viewing a saved revision (read-only)
b5497bcae5c048efb01e6608b74e82c3
Fork of Refactored Bar Chart
This visualization displays the top 10 most populous countries as a horizontal bar chart, using data from the United Nations World Population Prospects 2019. It uses React for component composition and d3.v5’s `scaleBand`, `scaleLinear`, and `max` for scales and domain calculation. The chart renders as SVG, with axes constructed via custom `AxisBottom` and `AxisLeft` components, while `Marks` draws the rectangular bars. Data is loaded asynchronously with d3’s `csv` function and filtered to the first 10 rows.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.