🌍 Public
Viewing a saved revision (read-only)
415b15258aa84fe2bcf6eae6ca97ff3a
activity 6_Task 1
This bar chart displays the population of ten countries in the year 2000, with horizontal bars ordered by country name and encoded by population value. Rendered as an SVG via React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map data, while `AxisBottom` and `AxisLeft` components generate tick marks and labels. The data is loaded from a CSV file using D3’s `csv` function, and each bar includes a tooltip showing the formatted population value.
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.