🌍 Public
Viewing a saved revision (read-only)
faa62c05c12c46d3aeea6fb7542a7b53
Activity_6
A horizontal bar chart displays the 2020 populations of 30 countries, sourced from a CSV file via the D3 `csv` function. The visualization uses React to render SVG elements, with D3's `scaleBand` and `scaleLinear` mapping country names and population values to positions. Tooltips reveal exact population figures, and axes include custom tick formatting that abbreviates large numbers. The chart applies a green fill to marks and a blue stroke to axis lines.
AI-generated descriptionA demonstration of how to start using D3 version 6.