Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question 1(Task 2)

Public visualization

Viewing a saved revision (read-only)

666eed6a918f4ab4a31e560c9524c0b8

question 1(Task 2)

0 stars4🌍 Public
MMahimaChowdaryKasthala@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This example shows the proportion of smartphone app usage across six age groups using a horizontal stacked bar chart. The bars are divided into segments for social media, games, productivity, streaming, and other apps, with a color-coded legend for identification. The chart uses `d3.stack` to compute the stacked bar coordinates and `d3.scaleBand` for the age-group axis. It reads data from the CSV file `phones.csv` and renders the chart as an SVG element. Color assignments are made with `d3.scaleOrdinal`.

AI-generated description