@simoncomputing/grafu-charts
v0.1.2
Published
A React component library for data visualizations
Keywords
Readme
Grafu Charts
A React component library for building data visualizations. Leverages Material UI for styled components, and Recharts for base visualization components.

A product of the SimonComputing Technology Innovations Lab
Installation
# Use NPM, yarn, or PNPM
npm install @simoncomputing/grafu-base
npm install @simoncomputing/grafu-chartsRequired Peer Dependencies
The charts and graphs are built on Recharts. At a minimum, this library requires installing these packages:
# Material UI
npm install @mui/material@^6.5.0
npm install @mui/icons-material@^6.5.0
npm install @emotion/react@^11.14.0
npm install @emotion/styled@^11.14.0
# Data visualizations
npm install recharts@^2.15.2Basic Example
<BarGraph
data={[
{ value: 1, category: 'A' },
{ value: 2, category: 'B' }
]}
valueAxis={{ keys: ['value'] }}
categoryAxis={{ key: 'category' }}
/>Documentation & Demo
This project uses Storybook to document and demonstrate the components. URL COMING SOON.
Release History
Details for every release are documented in CHANGELOG.md
Exports
Components include:
- Area Graph
- Bar Graph
- Bubble Graph
- Calendar Heat Map
- Composite Graph (Bar + Line Graph)
- Data Table (Deprecated)
- Gauge Chart
- Line Graph
- Mirror Graph
- Pie Chart
- Radar Chart
- Sankey Chart
- Survey Explorer
