Skip to main content
100%

ICE_7_Pie Chart

✓ Published0🌍 Public
Ssaitejak1619@gmail.com
Last edited Mar 28, 2026
Created on Mar 28, 2026
Forked from D3 Starter

This pie chart shows the distribution of total screen time across four app categories (Work, Gaming, Education, Social) using the Digital Usage dataset, with each slice sized proportionally and labeled with its percentage. D3’s `pie` layout and `arc` generator convert the aggregated `screen_time_hours` into SVG paths, while tooltips and hover highlighting are implemented via mouse events. A `scaleOrdinal` color scale differentiates categories, and a legend accompanies the chart. The visualization reveals a fairly even usage split, with Education holding a slightly smaller share than the other three categories.

AI-generated description

The pie chart was created using the Digital Usage dataset to represent the share of total screen time contributed by each application category. The data was grouped by app_category, and the total screen_time_hours for each category was calculated. D3’s pie layout was then used to convert the aggregated totals into slices, with percentage labels displayed inside the chart and a legend placed beside it. Additional interactivity was added through tooltips and hover highlighting to improve readability.

The visualization shows that screen time is fairly evenly distributed across the four application categories. Work, Gaming, and Social categories each account for a similar proportion of total usage, while Education contributes a slightly smaller share. This indicates that user activity is spread across multiple types of applications rather than being heavily concentrated in one category.

MIT Licensed

Similar vizzes