Skip to main content
100%

A2 Ques 1

✓ Published1🌍 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

MIT Licensed

Similar vizzes