🌍 Public
Viewing a saved revision (read-only)
8c74f98e00e34a8e938e6d8cbbdcc2e2
Question 1
This example shows a horizontal bar chart ranking the populations of ten countries for the year 2000, with values formatted in billions using D3's `format` API. React components render SVG rectangles, while D3's `scaleBand` and `scaleLinear` position the bars and axes. The data loads via D3's `csv` from a GitHub source, and each bar includes a native SVG `<title>` tooltip.
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.