Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-animated-donut with all npm packages installed. Try it out:

var reactAnimatedDonut = require("react-animated-donut")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-animated-donut v0.4.0

react-animated-donut

Animated Donut Chart using react & d3

img

Usage

<Donut
  data={[
    { value: 50, color: '#ED696C' },
    { value: 10, color: '#f0e387' },
    { value: 30, color: '#d6d6d6' },
    { value: 70, color: '#43b4a1' }
  ]}
  speed={5}
  width={5}
/>

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free