Task_8_q1
✓ Published0🌍 Public
A horizontal bar chart displays the populations of ten countries as of the year 2000. The visualization uses React with D3 v5, rendering bars as SVG rectangles via the `scaleBand` and `scaleLinear` scales, with axes rendered by custom `AxisBottom` and `AxisLeft` components. Data is loaded asynchronously from a CSV file using the `csv` function from d3. Population values are formatted in billions using `format('.2s')`. Tooltips show the formatted population on hover through a native SVG `<title>` element.
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