react-small-donut-chart
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

react-small-donut-chart

A small SVG React component to generate a Donut Chart!

How it looks

Install

npm install react-small-donut-chart

Usage

import DonutChart from 'react-small-donut-chart';
<DonutChart
  strokeWidth={50}
  colors={['yellow', 'red', 'blue', 'white', 'grey']}
  values={[32, 56, 24, 40, 32]}
  radius={150}/>

/react-small-donut-chart/

    Package Sidebar

    Install

    npm i react-small-donut-chart

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    9.66 kB

    Total Files

    6

    Last publish

    Collaborators

    • gutioliveira