🌍 Public
Viewing a saved revision (read-only)
447a76d8b0684e8da5c0fa2a504d89a8
Task8_Question1.2
A horizontal bar chart displays the top 20 countries by 2010 population, with a title labeling the x-axis. The visualization uses React components and D3 v5 APIs, including `scaleBand` for the y-axis and `scaleLinear` for the x-axis, to render SVG rectangles. Tooltips formatting via `format` shows population values in 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.