Activity - 8_task-1
✓ Published0🌍 Public
A horizontal bar chart displays the estimated 2020 populations of 30 countries, ranked from largest to smallest. The visualization uses React to render SVG elements, with D3's `scaleBand` and `scaleLinear` handling the y and x axes, respectively. Data is loaded asynchronously via D3's `csv` function from a GitHub-hosted dataset, with population values converted from thousands. Tooltips provide formatted values, and axis labels are styled using CSS classes.
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