Task6_Question1_1_PR
✓ Published1🌍 Public
A horizontal bar chart displays the populations of the top ten countries for the year 2000, with country names on the y-axis and population values on the x-axis. The visualization loads CSV data from a GitHub repository and uses React with D3 v5 scaleBand and scaleLinear to position bars, while custom AxisBottom and AxisLeft components render tick marks and labels. Tooltips appear on hover via SVG title elements, and axis labels use D3’s format function to abbreviate large numbers.
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