3.3.1 • Published 2 months ago

@antv/ava-react v3.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

English | 简体中文

React components of AVA.

MIT License Language NPM Package NPM Downloads

Introduction

@antv/ava-react is a plug-and-play React component library based on the integration of AVA capabilities, which contains three core components:

  • <NarrativeTextVis/>: Demonstrate data insight interpretation text. In a full-flow presentation of data analysis, using text to describe data phenomena is as critical as giving insightful conclusions.
  • <InsightCard/>: Present data insights in a combination of graphics and text. It is possible to either receive data directly and perform insights automatically, or to visualize and interpret only the insight result data for presentation.
  • <AutoChart/>: Automatically recommends and renders the appropriate chart based on the data. It provides users with the ability to implement intelligent visualizations in one line of code, and the component is currently undergoing further upgrades.

Installation and Usage

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

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

# yarn
$ yarn add @antv/ava-react

The following is a practical example of how the three main components of @antv/ava-react can be used:

  1. Examples of <NarrativeTextVis/>:

    import { NarrativeTextVis } from '@antv/ava-react';
    export default () => {
    // where textSpec is of type NarrativeTextSpec
    return <NarrativeTextVis spec={textSpec} />
    }
  2. Examples of <InsightCard/>:

    import { InsightCard } from '@antv/ava-react';
    export default () => {
    // where the insightInfo type refers to the data insight output by the insight module
    return <InsightCard insightInfo={insightInfo} />
    }
  3. <AutoChart/> is being further upgraded, so stay tuned.

import { NarrativeTextVis } from '@antv/ava-react';

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.

3.3.1

2 months ago

3.3.0

2 months ago

3.2.3-beta.0

2 months ago

3.2.1

6 months ago

3.1.9

8 months ago

3.1.8

8 months ago

3.1.10-beta.0

8 months ago

3.2.0

7 months ago

3.1.7

10 months ago

3.1.6

10 months ago

3.2.0-beta.0

8 months ago

3.1.9-beta.0

8 months ago

3.1.5

11 months ago

3.1.4

11 months ago

3.1.3

12 months ago

3.1.2

12 months ago

3.1.1

12 months ago

3.1.0

1 year ago

3.0.1

1 year ago

3.0.0-beta.1

1 year ago

3.0.0-alpha.7

1 year ago

3.0.0-beta.0

1 year ago

3.0.0-alpha.6

1 year ago

3.0.0-alpha.8

1 year ago

3.0.0

1 year ago

3.0.0-alpha.5

1 year ago

3.0.0-alpha.4

1 year ago

3.0.0-alpha.3

1 year ago

3.0.0-alpha.2

1 year ago

3.0.0-alpha.1

1 year ago

3.0.0-alpha.0

1 year ago