React Canvas Pie Chart Component

This React component takes in an array of values as a data props, and creates a pie chart based on the array. The first value in the array begins at the top, and the values fill the circle going clockwise.

The component also takes a colors (type Array) prop to use for the pie chart colors; a size (type Number) prop to use for the height and width of the pie chart; and a lineWidth (type Number) prop to use as the stroke width.

Preview:

react-canvas-pie-chart-component

Download Details:

Author: dgca

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: http://codepen.io/dgca/pen/WGayvv

License: MIT

You Might Be Interested In:

Add Comment