Fork of activity 6_Task 1
✓ Published0🌍 Public
This horizontal bar chart visualizes the 2020 population for 30 countries, sorted from largest to smallest, with a green fill and blue axis ticks against a clean background. The chart loads data from a GitHub-hosted CSV via `d3.csv` and renders it as SVG using React components. D3's `scaleBand` and `scaleLinear` position the bars, while `format('.2s')` formats tick labels to show values in billions. Interactive tooltips display the exact population representation for each bar.
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