Fork of pieChart
✓ Published0🌍 Public
A pie chart displays the absolute frequency of categorical values, initially for student grades, within a React-based visualization. The chart animates its segments using d3.arc and a transition.attrTween, interpolating start and end angles over a 500-millisecond delay per slice. A dropdown menu allows switching between categorical columns (e.g., "note" or "student"), recalculating frequencies via d3.nest().key().rollup() and re-rendering the SVG with d3.select and path elements. Hovering activates tooltips showing each slice's key and value.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed