2.1.1 • Published 1 year ago

@antv/lite-insight v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

English | 简体中文

Version NPM downloads

✨ 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