Task8_Task(1)
✓ Published3🌍 Public
This horizontal bar chart displays 2020 population estimates for 30 countries, sorted alphabetically by country name with bars extending left-to-right proportional to population values. The visualization uses React for component structure and D3 v5 for scales, axes, and data parsing, with SVG rectangles representing each country’s population in millions. Data loads from a GitHub CSV file, formatting large tick labels with D3’s `format('.2s')` to abbreviate billions as “B”. Tooltips show precise population values via SVG `<title>` elements, while blue axis lines and light-green bars provide visual clarity.
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