Skip to main content
100%

PIE-CHART

✓ Published0🌍 Public
Cchandanamahesh0215@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

A donut chart displays the distribution of Spotify listening weeks into three buckets based on skipped songs: low (≤5), medium (6–10), and high (≥11). The visualization uses d3.pie, d3.arc, and d3.scaleOrdinal to render slices with percentage labels, leader lines, and a legend. Data is loaded from a Gist-hosted CSV file using d3.csv, and the chart is rendered as an SVG. The component is reusable, with setters for width, height, and radii.

AI-generated description
MIT Licensed

Similar vizzes