Activity 6_Q1.1
✓ Published1🌍 Public
This horizontal bar chart displays the population of the top 10 countries in the year 2000, ordered alphabetically by country name. The visualization uses React and D3 v5, with `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. Data is loaded asynchronously from a remote CSV file via `d3.csv`, and bars are rendered as SVG rectangles with tooltips showing formatted population values using `d3.format`.
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