Socket
Socket
Sign inDemoInstall

react-simple-pie-chart

Package Overview
Dependencies
3
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-simple-pie-chart

A React component to generate simple pie charts.


Version published
Weekly downloads
401
increased by23.01%
Maintainers
5
Install size
10.6 kB
Created
Weekly downloads
 

Changelog

Source

0.5.0

  • Add borderWidth and borderColor props

Readme

Source

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

Keywords

FAQs

Last updated on 05 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc