🌍 Public
Viewing a saved revision (read-only)
d6fb26d385dd410e86bdf76b9efb0c42
Activity6_Task1.2
A horizontal bar chart displays the population of twenty countries in 2010, ranked from top to bottom. Green bars extend from the left axis to the right, with a blue tick line marking the bottom axis. Built with React and D3 v5, the visualization uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and loads CSV data from a GitHub repository. Tooltips reveal the population value on hover, formatted with abbreviations like "B" for billions.
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.