🌍 Public
Viewing a saved revision (read-only)
1027478ab378476cb1bf505c5be7168e
Task8_Q1)2)
This bar chart displays the population of 20 countries in 2010, ordered along a vertical band scale with horizontal bars extending along a linear population scale. The visualization is rendered as an SVG using React and D3 v5, with data loaded from a CSV file via `d3.csv`. Axes are custom-built using `scaleBand` and `scaleLinear`, while tick labels format population values with the `d3.format` function, converting billions (G) to billions (B). Interactive tooltips appear on each bar via SVG `<title>` elements.
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.