Activity 8 - Q1.2
✓ Published0🌍 Public
A horizontal bar chart displays the populations of 20 countries in 2010, sorted alphabetically by country name. The visualization uses React with SVG rendering and D3 v5 scales, including `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data is loaded asynchronously via D3's `csv` parser from a GitHub-hosted CSV file. Custom React components render the axes and rectangular marks, with formatted tick labels converting billions using D3's `format` function.
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