Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Question2

Public visualization

Activity7_Question2

0 stars0🌍 Public
Eenochabraham97@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This area chart shows average daily screen time in hours across different age groups, based on a CSV file loaded from a GitHub gist. The code uses D3 v7 to build the visualization, parsing the data with `d3.csv` and rendering the area path with `d3.area`. A point scale maps age categories horizontally, while a linear scale handles the vertical time axis, with axes generated using `d3.axisBottom` and `d3.axisLeft`. The SVG output includes labeled axes and a filled purple area with a dark stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed