Fork of ICE - 7 Pie Chart Naimisha
✓ Published0🌍 Public
This pie chart visualizes student records, showing the proportion of deaths per student using color-coded slices and a legend with student names and values. The code loads CSV data from a GitHub gist and uses d3.pie to compute arc angles, d3.arc to generate SVG paths, and scaleOrdinal for color mapping. Each slice displays its value formatted in thousands, while the legend uses SVG rects and text elements. The visualization is built with D3 v5 and rendered entirely as SVG, with a fixed chart width of 960 pixels.
AI-generated descriptionMIT Licensed