Activity 6 - Task 1
✓ Published0🌍 Public
This chart displays the population of ten countries in the year 2000 as horizontal bars, ordered by country name along the vertical axis. The data is loaded from a CSV file using the `csv` function from D3 v5. React components structure the SVG rendering, with `scaleBand` and `scaleLinear` mapping the data coordinates. Axes are drawn using custom React components, and formatted population labels use the `format` method to abbreviate values.
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