Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart Question 1

Public visualization

Viewing a saved revision (read-only)

e311e5c3a59e45ef9240e898e6554dab

Fork of Pie Chart Question 1

0 stars0🌍 Public
Ddaneeshchowdary18@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This fork from Daneesh18 displays a pie chart of aggregated values for Android, iOS, and BlackBerry OS from a combined US yearly dataset (2009–2023), loaded via `d3.csv`. Each slice’s percentage is labeled using `d3.format` with `.1%`, and a legend maps each operating system to a bright color from `d3.scaleOrdinal`. The chart is rendered as SVG using `d3.pie` and `d3.arc`, with a shifted vertical transform, corner-rounded arcs, and a title generated by the `render` function. The dataset is loaded from a GitHub gist URL, and the visualization uses D3 v6 APIs.

AI-generated description

This pie chart shows the distribution of popular operating system users for Android, iOS and BlackBerry OS