Activity 6_Task1
✓ Published4🌍 Public
This bar chart ranks the 30 most populous countries by their 2020 population estimates, with horizontal bars sorted along a categorical y-axis and a linear x-axis. The visualization uses React to render SVG elements, with D3 v5 providing the `scaleBand` and `scaleLinear` scales, axis components, and CSV data loading. Population values are formatted in billions using D3’s `format` function, and each bar includes a tooltip displaying the formatted value. Data comes from a remote CSV file.
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