1.0.4 • Published 4 years ago

react-chart-donut v1.0.4

Weekly downloads
25
License
MIT
Repository
-
Last release
4 years ago

React donut chart

This package will help you to install and work with stand-alone donut chart which is made in React.

How to use

npm i react-chart-donut

Usage

import SVGDonut from 'react-chart-donut';

<SVGDonut data={[{
        color: '#673AB7',
        value: 20
    }, {
        color: '#4CAF50',
        value: 30
    }, {
        color: '#FF9800',
        value: 50
    }]} />