🌍 Public
Viewing a saved revision (read-only)
0a71c68b9a144033a55be0e69f3b9872
Activity 6_Task 1
This bar chart displays 2020 population estimates for 30 countries, with country names on the y-axis and population on the x-axis. The visualization uses React with D3 v6, employing `scaleBand` and `scaleLinear` for axes, and renders SVG rectangles via the `Marks` component. The data is loaded asynchronously from a CSV file using the `csv` function, with population values multiplied by 1000 and formatted using `format('.2s')` to show values in billions. Native SVG `<title>` elements provide tooltips on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.