@antv/lite-insight
v2.1.1
Published
A lite js library for insights retrieval.
Downloads
831
Maintainers
Readme
English | 简体中文
✨ Features
- Auto-Insights: Automatically detect and highlight the insights to facilitate pattern discovery about the data.
- Visualization & Annotation: Clearly represent and convey insights to non-expert users.
- Homogeneous Data Patterns: Extract the relations between different patterns.
The pipeline of Auto-Insights:
📦 Installation
⚠️ LiteInsight uses Web Workers internally, please make sure your bundler(Webpack>=5) supports this syntax.
$ npm install @antv/lite-insight
🔨 Getting Started
import { getDataInsights } from '@antv/lite-insight';
getDataInsights(data, {
limit: 30,
measures: [
{ field: 'life_expect', method: 'MEAN' },
{ field: 'pop', method: 'SUM' },
{ field: 'fertility', method: 'MEAN' },
]
});
📖 Documentation
For more usages, please check the API Reference
Acknowledgement
Some functionalities of LiteInsight are inspired by the following works.
📄 License
MIT