🌍 Public
Viewing a saved revision (read-only)
d929cf353c6b48c48cae1f6ab67dd530
Activity6_Task1
This visualization shows the top 30 countries by population in 2020 as a horizontal bar chart, with population values formatted in billions and a labeled x-axis. The chart uses D3 v5 scales, including `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, while bars are drawn as SVG rectangles. React components structure the visualization, with `AxisBottom` and `AxisLeft` rendering ticks, and tooltips display each bar's value via an SVG `<title>` element. Data is loaded from a remote CSV file.
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.