
Security News
Socket Security Analysis Is Now One Click Away on npm
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.
@formant/ava
Advanced tools
English | 简体中文
@antv/ava is the core JS package of AVA, which contains four main modules:
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
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.
FAQs
A framework for automated visual analytics.
The npm package @formant/ava receives a total of 187 weekly downloads. As such, @formant/ava popularity was classified as not popular.
We found that @formant/ava demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.