Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A2 Ques 1

Public visualization

Viewing a saved revision (read-only)

879b36b6f16a4b878031c3655656ac1b

A2 Ques 1

0 stars1🌍 Public
Rrahulnathmukkolla@gmail.com
Last edited Apr 11, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This example presents a donut-style pie chart that visualizes the distribution of smartphone types from a CSV dataset, labeling each slice with its category and count. The chart uses D3 v5’s `d3.pie` generator and `d3.arc` to compute and draw the arcs, with a categorical color scale from `d3.scaleOrdinal` and `d3.schemeCategory10` to differentiate slices. A legend is added to the right, and the data is loaded via `d3.csv` from a GitHub gist.

AI-generated description

Assignment 2 Pie chart