@antv/ava
A framework for automated visual analytics.
Last updated a year ago by chenluli .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @antv/ava 
SYNC missed versions from official npm registry.

English | 简体中文

@antv/ava

A framework for automated visual analytics.

MIT License Language NPM Package NPM Downloads

Introduction

@antv/ava is the core JS package of AVA, which contains four main modules:

  • data (Data Processing): Data Processing Module. Used for statistical analysis and processing of datasets.
  • insight (Auto Insight): Automatic Insights Module. Automatically discover data insights from multi-dimensional data.
  • ckb (Chart Knowledge Base): Chart Knowledge Base Module. Based on empirically derived knowledge and observations about the various fundamentals of visualization and charts, it is the cornerstone of intelligent chart recommendations.
  • advisor (Chart Recommendation): Chart Recommendation Module. Recommend chart types and specific chart detail settings based on data and analysis needs, as well as chart optimization for existing charts.

Installation and Usage

Installation can be done via npm or the yarn package manager.

# npm
$ npm install @antv/ava --save

# yarn
$ yarn add @antv/ava

The following is a practical example of how the four main modules of @antv/ava can be used:

import { DataFrame, getInsights, ckb, Advisor } from '@antv/ava';

// input data
const data = [
  { price: 38, type: 'A' },
  { price: 52, type: 'B' },
  { price: 61, type: 'C' },
  { price: 145, type: 'D' },
  { price: 49, type: 'E' },
];

// 1. Data Processing Module
const df = new DataFrame(data);
const dataInfo = df.info();

// 2. Automatic Insights Module
const { insights } = getInsights(data);

// 3. Chart Knowledge Base Module
const myCkb = ckb();

// 4. Chart Advisor
const chartAdvisor = new Advisor();
// recommend charts and give optimization suggestions based on input data
const results = chartAdvisor.advise({ data });

For more examples, please refer to: AVA Site

Contribution PRs Welcome

We welcome all contributions. Please read our Contributing Guide first. You can submit any ideas as pull requests or as GitHub issues. Let's build a better AVA together.

More at Wiki: Development.

Current Tags

  • 3.5.0-alpha.5                                ...           alpha (5 months ago)
  • 3.3.2-beta.0                                ...           beta (8 months ago)
  • 3.4.1                                ...           latest (8 months ago)

39 Versions

  • 3.5.0-alpha.5                                ...           5 months ago
  • 3.5.0-alpha.4                                ...           5 months ago
  • 3.5.0-alpha.3                                ...           5 months ago
  • 3.5.0-alpha.2                                ...           5 months ago
  • 3.5.0-alpha.1                                ...           5 months ago
  • 3.5.0-alpha.0                                ...           5 months ago
  • 3.4.1                                ...           8 months ago
  • 3.4.0                                ...           8 months ago
  • 3.3.2-beta.0                                ...           8 months ago
  • 3.3.1                                ...           a year ago
  • 3.3.0-beta.5                                ...           a year ago
  • 3.2.1-beta.1                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.3.0-beta.4                                ...           a year ago
  • 3.3.0-beta.3                                ...           a year ago
  • 3.3.0-beta.2                                ...           a year ago
  • 3.3.0-beta.1                                ...           a year ago
  • 3.2.1-beta.0                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.2.0-beta.1                                ...           a year ago
  • 3.2.0-beta.0                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.1.0-beta.0                                ...           a year ago
  • 3.0.7                                ...           a year ago
  • 3.0.7-beta.0                                ...           a year ago
  • 3.0.6                                ...           a year ago
  • 3.0.5                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-beta.0                                ...           2 years ago
  • 3.0.0-alpha.5                                ...           2 years ago
  • 3.0.0-alpha.4                                ...           2 years ago
  • 3.0.0-alpha.3                                ...           2 years ago
  • 3.0.0-alpha.2                                ...           2 years ago
  • 3.0.0-alpha.1                                ...           2 years ago
  • 3.0.0-alpha.0                                ...           2 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE