Graphs and charts for react in SVG. Supports light and dark themes with unlimited customization options.
This package is ESM only.
yarn add react-graphs-svg
# or
npm install react-graphs-svg
import { LineChart } from 'react-graphs-svg'
<LineChart axis={axis} size={size} data={data} margins={margins}>
</LineChart>
- Line Chart
- Bar Chart
- Stacked Bar Chart
This package supports usage from Typescript.
Visit Demo site for detailed sample code: react-graphs-svg-demo.vercel.app