Activity_6_question_1.1
✓ Published0🌍 Public
A horizontal bar chart displays the populations of ten countries in the year 2000, sourced from a CSV file. The visualization uses React with D3 v5, employing `scaleBand` and `scaleLinear` for positioning. SVG rectangles render the bars, with axes generated through custom `AxisBottom` and `AxisLeft` components. The x-axis labels are formatted using D3's `format` function to abbreviate numbers, and each bar includes a native SVG `<title>` element for tooltips.
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