Skip to main content
100%

7-q1

✓ Published0🌍 Public
Nnikhithaaitha22@gmail.com
Last edited Nov 6, 2024
Created on Nov 5, 2024

This pie chart shows the distribution of mobile device types from a CSV dataset sourced from GitHub, displaying each device model’s count as a labeled slice with a legend. It uses D3.js v7 APIs including `pie()`, `arc()` for SVG path generation, `scaleOrdinal` for color mapping, and `csv()` for data loading. The code aggregates raw records by device model, then renders colored arcs with count labels and a legend, all within an SVG container styled with an external stylesheet.

AI-generated description
MIT Licensed

Similar vizzes