Skip to main content
100%

Task_8_Question2

✓ Published0🌍 Public
Mmythripopuri2001@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Task_8_Question2

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes