Skip to main content
100%

Untitled

✓ Published0🌍 Public
Mmauricio-acosta-reyes
Last edited May 4, 2021
Created on May 4, 2021
Forked from Daily QA IP

This example compares five React implementations of a pie chart, each rendering the same dataset of five random values. The charts display SVG arcs with value labels, and a "Transform" button triggers new data. Implementations include plain SVG elements, React hooks, a React class component, and two animated versions: one using D3 transitions with `attrTween` and interpolation, and another using React Spring's `useSpring` for animation. All use D3's `pie` and `arc` generators to compute geometry and `schemeCategory10` for colors.

AI-generated description

Daily QA Visualization in progress.

MIT Licensed

Similar vizzes