Skip to main content
100%

Fork of pieChart

✓ Published0🌍 Public
Ppreethamkesa
Last edited Mar 25, 2022
Created on Mar 25, 2022
Forked from pieChart

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes