🌍 Public
Viewing a saved revision (read-only)
707f9c48a2384d448bce0b4dfcd0d17c
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