react-chart-svg
dynamic svg charts
Install
npm install --save react-chart-svg
Usage
import React Componentm Fragment from "react"; import Donut from "react-chart-svg";import config from "react-spring"; { ; thisdata = 10 20 30 40 0 1000 0 2000 410 320 230 140 123 10 10 10 10 0 0 0 0 0 ; thisstate = index: 0 ; } { return <Fragment> <div = > <button = > switch </button> <Donut = = = = // = /> <Donut = ="-2.5 -2.5 5 5" = = = = = /> <Donut = = // = = = /> </div> </Fragment> ; }
License
MIT © wooheemusic