Skip to content

jonoirwinrsa/react-svg-circle-chart

Repository files navigation

Welcome to react-svg-circle-chart 👋

Version Documentation Maintenance License: MIT Twitter: jonoirwin

A simple React SVG Circle Chart

Demo

Install

yarn add react-svg-circle-chart

Usage

import { CircleChart } from 'react-svg-circle-chart'

const values = [
    { angle: 45, color: '#47B881' },
    { angle: 50, color: '#EC4C47' },
    { angle: 73, color: '#E2E449' }
]

<CircleChart values={values} size={220} radius={90} />

Run Demo

open demo/index.html in your browser

Run tests

yarn test

Author

👤 Jonathan Irwin

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 Jonathan Irwin.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

A simple Circle Chart built using SVG for React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published