🌍 Public
Viewing a saved revision (read-only)
97650d7810c3455eaa16934825a0ddf9
Activity6
This visualization displays population figures for 30 countries as a horizontal bar chart, with bars sized using a linear scale and countries arranged on a band scale. It uses D3 v5 utilities like `scaleBand` and `scaleLinear` for positioning, while React 16.9 renders the SVG elements through reusable axis and mark components. The data is loaded from a remote CSV file via D3’s `csv` method, and tooltips show formatted population values using D3’s `format` function, with axis labels styled via CSS.
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.