Fork of ACTIVITY6 QUES 1 (PART2)
✓ Published0🌍 Public
A horizontal bar chart displays the populations of 20 countries for 2010, with country names on the y-axis and population values on the x-axis. The visualization uses React to render SVG elements, while D3 v5’s `scaleBand` and `scaleLinear` handle axis positioning, and `d3.csv` loads the dataset from a GitHub repository. Bars appear in light green, with blue tick lines and formatted population labels using `d3.format`.
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