🌍 Public
Viewing a saved revision (read-only)
511fd570cde243e6b2ed567e1526a898
Activity6_task1
This bar chart displays the 2020 population estimates for 30 countries, ranked from largest to smallest. It uses a horizontal layout where the bar length encodes population values. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data is loaded from a CSV file via the `csv` function and rendered as SVG rectangles.
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.