Activity-6-Task1.2
✓ Published0🌍 Public
A horizontal bar chart displays the 20 most populous countries in 2010, with country names on the y-axis and population values on the x-axis. The React app loads CSV data via `d3.csv` using a custom `useData` hook, then renders SVG rectangles with D3 `scaleBand` and `scaleLinear` scales. D3 axes and tick formatting with `d3.format` label the chart, and native SVG `<title>` elements provide tooltips on hover.
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