
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
@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 153 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 rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.