Activity 6_Task 1
✓ Published0🌍 Public
This chart displays the 2020 population of 30 countries as a horizontal bar chart. Each bar’s length is proportional to population, with country names on the vertical axis and a formatted population scale on the horizontal axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `<rect>` elements for the bars. Data is loaded from a remote CSV file using D3’s `csv` 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