🌍 Public
Viewing a saved revision (read-only)
39e67262213e469a86a8a2128e4c4d06
activity 6_Task 1
This visualization shows the 2020 population for 30 countries as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The bars are rendered as SVG rectangles using React components, with scales from d3.scaleBand and d3.scaleLinear. Axes are custom components using d3 tick formatting, and the data is loaded from a CSV file via d3.csv with population values multiplied by 1000.
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.