react-json-analyse
v1.3.0
Published
Add JSON data analysis GUI to your React app
Downloads
3
Readme
React JSON Analyse
A React component for performing analysis on data structures in JSON format. This component is useful for anyone who wants to easily add lightweight business intelligence to their React app.
Features
- Calculate totals and averages
- Perform dataset grouping
- Specify where clauses
Usage
npm install --save react-json-analyse
import JsonAnalyse from 'react-json-analyse';
// Sample data. Can be an array or an object.
const data = {};
const onSubmit = (data) => {
// Do something with your data
};
<JsonAnalyse json={data} onSubmit={onSubmit} />
Contributing
Pull requests are welcome.
License
MIT