Skip to main content
100%

Assignment 3

✓ Published0🌍 Public
Eeeshani.boyapati@gmail.com
Last edited Mar 6, 2026
Created on Mar 6, 2026
Forked from DV A6 T3

This visualization compares average screen time, sleep hours, and GPA across six student groups using a combined bar and line chart. Gray bars represent average screen hours, while blue, green, and red lines depict trends for screen time, sleep, and GPA, respectively. The chart uses D3’s `scaleBand` for categorical x-axes, `scaleLinear` for the y-axis, and `d3.line` to connect summary points. Data is loaded from a CSV via `d3.csv`, grouped into six slices, and aggregated with `d3.mean` to compute group averages.

AI-generated description
MIT Licensed

Similar vizzes