🌍 Public
Viewing a saved revision (read-only)
fa197078cbb94c72a19203a8d5a69ab1
Fork of Hello VizHub
This area chart visualizes total wages by country using a stacked layout. The code loads CSV data from a GitHub gist with `d3.csv`, processes it with `d3.stack`, and renders layered areas using `d3.area`. It applies `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and colors each series with `d3.schemeCategory10`. SVG output is generated in a React-compatible HTML page, with axes added via `d3.axisBottom` and `d3.axisLeft`.
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.