Activity-6_Question-1.2
✓ Published0🌍 Public
A horizontal bar chart displays the top 20 countries by population in 2010, with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to position bars, while `AxisBottom` and `AxisLeft` render the axes. Population data is loaded from a CSV file via `d3.csv`, with tooltips 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