Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q4

Public visualization

Activity6_Q4

0 stars1🌍 Public
MMili Patel
Last edited Mar 29, 2025
Created on Mar 29, 2025
Forked from Activity6_Q4

This stacked bar chart visualizes the distribution of letter grades (A, B, C, D) across five school subjects, using data from a CSV file. Built with D3 v7, it renders as an SVG with color-coded bars separated by subject. The visualization uses `d3.csv` for data loading, `d3.stack` to create the stacked segments, `d3.scaleBand` for the categorical y-axis, and `d3.scaleLinear` for the percentage x-axis. A tooltip displays the exact grade percentage when hovering over a segment.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed