Activity6_Question 1.1
✓ Published1🌍 Public
A horizontal bar chart displays the populations of ten countries for the year 2000, sorted by descending value. Built with React and D3 v5, the visualization uses `d3.scaleBand` and `d3.scaleLinear` to map country names and population counts to SVG rectangles and axes. It loads CSV data via `d3.csv` from a remote GitHub repository, with population values scaled from the raw figures. Axis ticks and marks are rendered as SVG elements, with a tooltip showing formatted 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