Fork of Activity6_task1.1
✓ Published0🌍 Public
This example displays a horizontal bar chart comparing population figures for ten countries in the year 2000. The React application loads CSV data via `useData` and D3’s `csv` function, then renders SVG bars using `scaleBand` and `scaleLinear`. Axes are built with custom `AxisBottom` and `AxisLeft` components, while tooltips appear through SVG `<title>` elements using a D3 `format` tick formatter.
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