Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Question-2.1

Public visualization

Viewing a saved revision (read-only)

dc9e11fa386f450183f0592c9feaaf8a

Activity-6_Question-2.1

0 stars0🌍 Public
Hhoneyravuri.711@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

A stacked bar chart visualizes device usage proportions across five age groups, sourced from CSV data. It reveals how smartphone reliance decreases with age while tablet, laptop, and desktop usage generally increases. Built with D3 v7, the chart uses SVG rendering, a linear x-scale for percentages, a band y-scale for age categories, and an ordinal color scale. The stacked layers are created via `d3.stack()`, with tooltips showing exact percentages, and axes are formatted using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description