react-simple-pie-chart

Simple pie chart React component

Showing:

Popularity

Downloads/wk

834

GitHub Stars

62

Maintenance

Last Commit

4yrs ago

Contributors

7

Package

Dependencies

0

Size (min+gzip)

1.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

React Simple Pie Chart

npm version Build Status

Need a simple <svg> pie chart and don't want to bring in any heavy dependencies? You've come to the right place.

Demo

Example pie
chart

Installation

npm

npm install react-simple-pie-chart --save

Usage

import PieChart from 'react-simple-pie-chart';
<PieChart
  slices={[
    {
      color: '#f00',
      value: 10,
    },
    {
      color: '#0f0',
      value: 20,
    },
  ]}
/>

Code of conduct

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100