Activity 6
✓ Published0🌍 Public
A horizontal bar chart displays the 2020 populations of thirty countries, with bars sorted by country name and tooltips showing the population value. The visualization is rendered as SVG through React, using D3's `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and the `format` function to abbreviate large numbers. Data is loaded from an external CSV file via D3's `csv` utility.
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