A2 Ques 1
✓ Published0🌍 Public
This visualization presents a pie chart classifying smartphones by type, with a legend mapping each category to its corresponding color segment. The chart uses D3 v7 to load data from a remote CSV file, roll up records by the 'Smartphone Type' field, and render arcs with the `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` APIs. Labels are placed using arc centroids, and the legend is built with SVG rectangles and text elements.
AI-generated descriptionAssignment 2 Pie chart
MIT Licensed