Activity_6_Task_1
✓ Published1🌍 Public
This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart using SVG rendering within a React application. The chart uses D3.js v5 functions `scaleBand` and `scaleLinear` to map country names and population values to coordinates, with axes rendered by custom components. Population values are formatted using D3's `format` function, abbreviating large numbers with "B" for billions. Data is loaded asynchronously from a remote CSV file using `d3.csv`.
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