ICE7_PY_PieChart
✓ Published1🌍 Public
This pie chart displays the percentage contribution of five individual in-class exercises (ICE-1 through ICE-5) to a final student score. The code uses D3 v4’s `d3.pie` and `d3.arc` to compute and render the SVG arcs, with colors assigned via `d3.scaleOrdinal` and `d3.schemeCategory10`. A legend is drawn using appended circles and text labels, while each slice is labeled with its corresponding ICE name. The data is hardcoded as an array of objects, totaling 100 percent.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed