Question 1
✓ Published1🌍 Public
This visualization displays the population of ten countries in 2000 as a horizontal bar chart, using a green fill for each bar. The React app loads data from a CSV file via `d3.csv` and maps country names to a `scaleBand` and population values to a `scaleLinear`. Axes are rendered with custom `AxisBottom` and `AxisLeft` components, and tooltips on each bar use `d3.format` to show abbreviated values.
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