Activity6_Task1
✓ Published0🌍 Public
This bar chart displays the 2020 population estimates for 30 countries, sorted along a categorical y-axis. The visualization uses D3 v5 to load CSV data from a GitHub repository and React to manage the SVG rendering. The chart applies a linear scale for population counts, a band scale for country names, and a custom tick formatter that abbreviates large numbers (e.g., converting gigabytes to billions). Tooltips, provided via SVG `<title>` elements, show the 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