Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Qustn 2

Public visualization

Viewing a saved revision (read-only)

80d3dedc34d3421387833a0367eeb1cc

Activity7_Qustn 2

0 stars0🌍 Public
PPreethamreddyannavaram@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This visualization displays average daily screen time across different age groups using an area chart. The chart encodes age groups along the x-axis with `d3.scalePoint` and average screen time hours on the y-axis with `d3.scaleLinear`. Data is loaded from a remote CSV file via `d3.csv`, and the area shape is generated with `d3.area` and rendered as an SVG path. Axes are created using `d3.axisBottom` and `d3.axisLeft`, with custom labels for both dimensions. The chart uses a green fill with a darker stroke and includes a title and border around the SVG canvas.

AI-generated description