Activity7_Qustn 2
✓ Published0🌍 Public
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 descriptionMIT Licensed