Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

PIE-CHART

Public visualization

PIE-CHART

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed