react-chart-donut

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

Usage no npm install needed!

<script type="module">
  import reactChartDonut from 'https://cdn.skypack.dev/react-chart-donut';
</script>

README

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
    }]} />