Task8_Question1.2
✓ Published0🌍 Public
A horizontal bar chart displays the top 20 countries by population in 2010, with countries listed on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the continuous axis, and `d3.format` to abbreviate tick labels. SVG rectangles render the bars, and the data is loaded as CSV from a GitHub repository.
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