🌍 Public
Viewing a saved revision (read-only)
d45a9ae2201d43289f93131816697bc0
activity 1 task 1.2
This bar chart displays the population of 20 countries from 2010, sorted along a horizontal axis. The visualization uses D3 v5 and React to render SVG rectangles, with scales created using `scaleBand` and `scaleLinear` to position the bars. Data is loaded from a CSV URL and processed with `csv` and `format`. The chart includes axes generated by `AxisBottom` and `AxisLeft` components.
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.