Activity6_Task1
✓ Published0🌍 Public
This visualization displays the 2020 population estimates for 30 countries as a horizontal bar chart, with bars colored light green and axis ticks in blue. Population values are formatted using D3's `format` function to abbreviate billions and millions. The chart is built with React components that use D3 scales (`scaleBand`, `scaleLinear`) to position bars, while custom `AxisBottom` and `AxisLeft` components render the axes. Data loads asynchronously from a remote CSV file via `d3.csv` and renders as SVG 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.
MIT Licensed