Activity6_Question1.2
✓ Published0🌍 Public
A horizontal bar chart displays the 2010 population of twenty countries, ordered by country name, using green bars on an SVG canvas. The chart is built with React and D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Axis components are modular ES6 files, with bottom ticks formatted using `format`. Data is loaded asynchronously via `csv` from a GitHub-hosted dataset, and interactive tooltips show population values on hover.
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