Socket
Socket
Sign inDemoInstall

@antv/auto-chart

Package Overview
Dependencies
294
Maintainers
64
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @antv/auto-chart

A React component for chart use


Version published
Weekly downloads
251
increased by61.94%
Maintainers
64
Created
Weekly downloads
 

Readme

Source

English | 简体中文

AutoChart

AVA/auto-chart

AutoChart is a React component that can automatically recommends and renders the appropriate chart based on the input data.

Version NPM downloads

✨ Features

AutoChart exports the AutoChart component which is available for AVA users. It combines the major capabilities of ChartAdvisor, the core chart recommendation library in AVA.

AutoChart can be used to automatically generate and render appropriate charts based on the given data and analysis requirements. The core purpose of AutoChart is to provide users with the ability to automatically illustrate proper chart of data with a single line of code.

📦 Installation

$ npm install @antv/auto-chart

🔨 Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { AutoChart } from '@antv/auto-chart';

const data = [
  { f1: '2019-01', f2: 100 },
  { f1: '2019-02', f2: 300 },
  { f1: '2019-03', f2: 340 },
  { f1: '2019-04', f2: 330 },
];

ReactDOM.render(<AutoChart data={data} />, document.getElementById('container'));

📖 Documentation

For more usages, please check the API Reference

Contribution

We welcome all contributions. Please read General Contribution Guide first.

You can submit any ideas as Pull Requests or as GitHub Issues. Let's build a better AVA together.

License

MIT

FAQs

Last updated on 15 Mar 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc