Task8_Tutorial1
✓ Published0🌍 Public
A horizontal bar chart displays the 2020 population estimates for 30 countries, sorted by country name along the y-axis. The visualization uses React to render SVG elements, with D3 v5 handling data loading via `csv`, linear and band scales, and axis tick formatting with `format('.2s')`. Population values are converted from the raw CSV data by multiplying the '2020' column by 1000. The chart includes labeled axes, a green bar fill, and tooltips showing formatted population values on hover.
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.
MIT Licensed