Fork of activity 6_Task 1_2000
✓ Published0🌍 Public
This bar chart displays the population of ten countries for the year 2000, with horizontal bars sorted by country name along the y-axis. The chart uses React and D3 v5, with scales from `d3.scaleBand` and `d3.scaleLinear`, rendering as SVG. Data loads via `d3.csv` from a GitHub repository, and the population values are formatted with `d3.format` to display in billions. Axis components and marks are built with reusable React components, and each bar includes a native SVG `<title>` tooltip.
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