🌍 Public
Viewing a saved revision (read-only)
5abce117b2224e779b907c11a384c78d
Fork of Activity6_Task1
This bar chart displays the top 20 countries by population in 2010, with countries listed on the y-axis and population on the x-axis. The visualization uses React to render SVG elements, with D3 v5's `scaleBand` and `scaleLinear` for axis scaling. The `Marks.js` component creates the orange bars, while `AxisBottom.js` and `AxisLeft.js` generate the axes. Data is loaded asynchronously from a CSV file using D3's `csv` function, and hover effects show precise population values via SVG `<title>` tooltips.
AI-generated description