civiccc / React Simple Pie Chart
Licence: mit
Simple pie chart React component
Stars: ✭ 61
Programming Languages
javascript
184084 projects - #8 most used programming language
React Simple Pie Chart
Need a simple <svg>
pie chart and don't want to bring in any heavy
dependencies? You've come to the right place.
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].