Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pie chart

Public visualization

Viewing a saved revision (read-only)

09eabf591ae440a6b5270ecaff4bcd20

pie chart

0 stars1🌍 Public
Vvenigallajaanu@gmail.com
Last edited Apr 2, 2025
Created on Mar 31, 2025

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 description