Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7.1_Q1

Public visualization

Viewing a saved revision (read-only)

d3b4176e85794ff5b56589ba9be8a97e

Activity-7.1_Q1

0 stars0🌍 Public
SSrihith Reddy Gaddam
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This D3.js visualization displays global smartphone market share as a pie chart, showing the proportion of users for each brand. The chart uses a custom color palette to distinguish brands and includes a legend listing each brand alongside its corresponding color. The code aggregates user counts by brand using `d3.rollup` and `d3.sum`, then renders the pie with `d3.pie` and `d3.arc` within an SVG. A custom `pieChart` function provides a fluent API for setting dimensions, data, and labels, making the chart configurable. The data is loaded from a remote CSV file containing smartphone usage statistics.

AI-generated description

A D3.js Pie Chart visualizing smartphone usage by brand based on global data.