🌍 Public
Viewing a saved revision (read-only)
2a77c0f93a4844fe95a5882e073af4d2
activity 6_Task1
This interactive bar chart displays the population of the top 10 countries for the year 2000, using horizontal bars colored green. Built with React and D3, it loads data from a remote CSV file via the `csv` function and renders the visualization as SVG. The chart uses `scaleBand` for the categorical y-axis, `scaleLinear` for the population x-axis, and includes custom axis components with tick formatting via `format`. Hovering over a bar shows a tooltip with the population value formatted using `format('.2s')`.
AI-generated description