Activity -6_ Task-2
✓ Published0🌍 Public
This horizontal bar chart displays the populations of the top 20 countries for the year 2020, using green bars sorted along a linear scale. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, while `csv` loads the dataset from a GitHub repository. SVG rendering provides the plot, with axis tick formatting converting values to billions via the D3 `format` function. Hover tooltips show precise population values through native SVG `<title>` elements.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed