Activity 7
✓ Published0🌍 Public
A horizontal bar chart displays the population estimates for ten countries in 2010, with bars extending from a shared baseline. The visualization uses React with D3.js utility functions, including `d3.csv` for data loading, `scaleBand` for the categorical y-axis, and `scaleLinear` for the quantitative x-axis. SVG rendering constructs axes via custom `AxisBottom` and `AxisLeft` components, while hover tooltips are implemented through SVG `<title>` elements. The chart labels the x-axis and formats tick marks using `d3.format`.
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