Skip to main content
100%

Activity6_Q4

✓ Published1🌍 Public
MMili Patel
Last edited Mar 29, 2025
Created on Mar 29, 2025
Forked from Activity6_Q3

This stacked bar chart shows the percentage of students receiving grades A, B, C, or D across five school subjects. Each subject’s bar is segmented by grade, colored distinctly, and totals 100%. Built with D3 v7, it loads CSV data via `d3.csv` and stacks values using `d3.stack`. The SVG rendering uses `d3.axisLeft` and `d3.axisBottom` for axes, while a hover tooltip, driven by mouse events, displays each grade’s exact percentage.

AI-generated description
MIT Licensed

Similar vizzes