ICE 7 PIECHART
✓ Published0🌍 Public
Bbhargavinalamothu@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of Fork of Fork of Reusable D3 Scatter Plot
This pie chart shows the distribution of productivity levels in relation to sleep duration, using counts of categorical values from a CSV dataset. It fetches the data from a GitHub Gist, parses the rows, and aggregates the third column into named categories. The visualization is rendered with Chart.js on a canvas element, applying a predefined color palette per slice. A legend appears on the right, and an error message displays if no valid rows are found.
AI-generated descriptionMIT Licensed