Fork of ICE7_PY_PieChart
✓ Published0🌍 Public
This pie chart visualizes the percentage contribution of five in-class exercises (ICE-1 through ICE-5) to a final student score. The chart displays each slice with a label and a corresponding color-coded legend, using a D3 ordinal color scheme. The visualization uses D3 v4’s `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` APIs to generate the SVG-based chart. A legend with colored dots and text labels is manually positioned within the SVG, and the data is embedded directly in the code as an array of name-share pairs.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed