Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 3

Public visualization

Viewing a saved revision (read-only)

2c345749eb3a41e8b35352b624ad173b

Assignment 3

0 stars0🌍 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