Skip to main content
100%

activity 6_Task1

✓ Published0🌍 Public
Hhui249378@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes