Skip to main content
100%

Fork of Activity_6_Question_2

✓ Published0🌍 Public
AAbrarb702@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity_6_Task_2

This stacked bar chart shows the percentage distribution of marks across five mark ranges for five students, with each bar segment representing a proportion that sums to 1. Designed with D3 v7, the visualization uses `d3.stack()` and `d3.scaleOrdinal()` for color encoding, while `d3.scaleBand()` positions students on the y-axis. Hovering over any segment triggers a tooltip displaying the exact percentage for that mark range, using the `mousemove` event and D3’s formatting helper. The SVG rendering applies custom axis labels and a manual legend, with data loaded from a CSV file.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart represents the percentage distribution of different mark ranges across various students. The aim is to visualize how student performance varies across different mark levels. When the mouse hovers over a segment of the bar, a tooltip displays the precise percentage of that particular mark range for the selected student. The total percentage adds up to 1, indicating 100%.

MIT Licensed

Similar vizzes