activity 6_Task 1.2
✓ Published0🌍 Public
This chart displays the populations of 20 countries in 2010 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` to map the data, which is loaded via `csv` from a GitHub-hosted CSV file. SVG rectangles render the bars, with axis components and a tooltip showing formatted 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.
MIT Licensed