pie chart
✓ Published1🌍 Public
This pie chart visualizes the total marks for six school subjects (telugu, hindi, english, maths, science, and social) aggregated from a comma-separated values dataset. It uses D3.js v7 to load the external CSV, compute sums with `d3.sum`, and generate the chart with `d3.pie` and `d3.arc`. Subjects are colored using `d3.scaleOrdinal` with `d3.schemeCategory10`, with labels placed via `arc.centroid` and an accompanying legend showing each subject and its total. The rendering uses SVG.
AI-generated descriptionMIT Licensed