Task_8_Question2
✓ Published0🌍 Public
This stacked bar chart visualizes financial aid distribution across gender categories (Male, Female, Non-binary) with breakdowns by expenditure type (Education, Healthcare, Housing, Food, Transportation). The visualization uses D3.js v7, reading from a local CSV file and rendering as SVG. The implementation employs `d3.stack()` for data preparation, `d3.scaleBand()` and `d3.scaleLinear()` for axes, and `d3.scaleOrdinal()` with `d3.schemeCategory10` for coloring. Interactive tooltips using `d3.select()` display exact values on mouseover, while the legend and axis labels clarify the categorical and quantitative dimensions.
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