activity6_question1
✓ Published0🌍 Public
A horizontal bar chart displays the populations of ten countries in the year 2000, sourced from a CSV file and rendered as SVG rectangles with React. D3’s `scaleBand` and `scaleLinear` position bars, while custom `AxisBottom` and `AxisLeft` components generate tick marks and labels using `d3.format`. A title tooltip appears on each bar via an HTML `<title>` element, and the chart applies a green fill with blue axis lines.
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