🌍 Public
Viewing a saved revision (read-only)
33fbbf78fd474e389d389ee8e492e491
Fork of Hello VizHub
This horizontal bar chart displays the population of ten countries for the year 2000, sourced from a CSV file via `d3.csv`. The visualization uses React to render an SVG, with `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the population x-axis, formatted using `d3.format`. The chart highlights the `d3.axisBottom` and `d3.axisLeft` components, with tooltips showing values on hover.
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.