🌍 Public
Viewing a saved revision (read-only)
95d230845ff04c65bdf9e74f61132c4b
activity 6_Task 1
This horizontal bar chart ranks the ten most populous countries in the year 2000, using bars colored light green against a blue-axis plot. Data is loaded from a CSV via `csv` and sorted in descending order, with the top ten slices selected for display. The chart uses React components (`AxisBottom`, `AxisLeft`, `Marks`) and D3’s `scaleBand` and `scaleLinear` to position bars, while `format(.2s)` converts population values into abbreviated text such as "1.2B".
AI-generated description