🌍 Public
Viewing a saved revision (read-only)
bec1301644474b5eb82cff86e5e30e54
Activity8-Task1
This horizontal bar chart displays the population of the top 20 countries in 2010, using green bars sorted by country name. Built with React and rendered as SVG, the visualization leverages D3 v5 functions including `scaleBand` and `scaleLinear` for axes, with CSV data loaded via `d3.csv`. Tooltips formatted with `d3.format` show abbreviated population values on hover, while custom Axis components handle tick rendering.
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.