$ npm install @antv/ava
English | 简体中文
# npm
$ npm install @antv/ava --save
# yarn
$ yarn add @antv/ava
import { Advisor, ckb, DataFrame, getInsights } from '@antv/ava';
// Chart Advisor and Linter
const data = [
{ price: 38, type: 'A' },
{ price: 52, type: 'B' },
{ price: 61, type: 'C' },
{ price: 145, type: 'D' },
{ price: 49, type: 'E' },
];
const chartAdvisor = new Advisor();
const results = chartAdvisor.advise({ data });
// Chart Knowledge Base
const myCkb = ckb();
// Data Processing and Analysis
const df = new DataFrame(data);
const dataInfo = df.info();
// Data Insight
const { insights } = getInsights(data);
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.
© 2010 - cnpmjs.org x YWFE | Home | YWFE