@antv/g2plot
An interactive and responsive charting library
Last updated 5 days ago by kasmine .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @antv/g2plot 
SYNC missed versions from official npm registry.

English | 简体中文

G2Plot

A charting library based on the Grammar of Graphics.

Version NPM downloads Latest commit build Status coverage Percentage of issues still open Average time to resolve an issue

G2Plot is an interactive and responsive charting library. Based on the grammar of graphics, you can easily make superior statistical charts through a few lines of code.


Features

Pretty & Lightweight

With AntV design principles of data visualization, G2Plot provides standard and elegant visual styles as well as neat config options.

Responsive

G2Plot guarantees the readability of the charts in different sizes and data.

Storytelling

With the feature of layers, charts can be grouped, nested or linked to do exploratory analysis and expressive storytelling.

Installation

$ npm install @antv/g2plot

Usage

<div id="container"></div>
import { Bar } from '@antv/g2plot';

const data = [
  { year: '1951 年', sales: 38 },
  { year: '1952 年', sales: 52 },
  { year: '1956 年', sales: 61 },
  { year: '1957 年', sales: 145 },
  { year: '1958 年', sales: 48 },
];

const bar = new Bar('container', {
  data,
  xField: 'sales',
  yField: 'year',
  seriesField: 'year',
});

bar.render();

Contributing

Your contributions are always welcome! Please Do have a look at the issues first.

To become a contributor, please follow our contributing guide.

Contact us

钉钉群组号码: 30233731

Links

ChartCube - Online chart making tool based on G2Plot.

License

MIT

Current Tags

  • 1.1.29-beta.0                                ...           beta (2 months ago)
  • 2.3.8                                ...           latest (5 days ago)

128 Versions

  • 2.3.8                                ...           5 days ago
  • 2.3.7                                ...           12 days ago
  • 2.3.6                                ...           19 days ago
  • 2.3.5                                ...           21 days ago
  • 2.3.4                                ...           25 days ago
  • 2.3.3                                ...           a month ago
  • 2.3.2                                ...           a month ago
  • 2.3.1                                ...           2 months ago
  • 2.2.13                                ...           2 months ago
  • 2.2.12                                ...           2 months ago
  • 2.2.11                                ...           2 months ago
  • 2.0.10                                ...           2 months ago
  • 2.0.9                                ...           2 months ago
  • 2.0.8                                ...           2 months ago
  • 1.1.29-beta.0                                ...           2 months ago
  • 2.0.7                                ...           2 months ago
  • 2.0.6                                ...           3 months ago
  • 2.0.5                                ...           3 months ago
  • 2.0.4                                ...           3 months ago
  • 2.0.3                                ...           3 months ago
  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           4 months ago
  • 2.0.0                                ...           4 months ago
  • 2.0.0-beta.6                                ...           4 months ago
  • 1.1.28                                ...           4 months ago
  • 2.0.0-beta.5                                ...           4 months ago
  • 1.1.27                                ...           4 months ago
  • 2.0.0-beta.4                                ...           4 months ago
  • 2.0.0-beta.3                                ...           4 months ago
  • 1.1.26                                ...           5 months ago
  • 1.1.25                                ...           5 months ago
  • 1.1.24                                ...           5 months ago
  • 2.0.0-beta.2                                ...           5 months ago
  • 2.0.0-beta.1                                ...           5 months ago
  • 1.1.23                                ...           5 months ago
  • 1.1.22                                ...           5 months ago
  • 1.1.22-beta.0                                ...           5 months ago
  • 1.1.21                                ...           5 months ago
  • 1.1.20                                ...           5 months ago
  • 1.1.19                                ...           6 months ago
  • 1.1.18                                ...           6 months ago
  • 1.1.18-beta.1                                ...           6 months ago
  • 1.1.17                                ...           6 months ago
  • 1.1.16                                ...           6 months ago
  • 1.1.16-beta.3                                ...           6 months ago
  • 1.1.16-beta.2                                ...           6 months ago
  • 1.1.16-beta.1                                ...           6 months ago
  • 1.1.15                                ...           6 months ago
  • 1.1.14                                ...           6 months ago
  • 1.1.13                                ...           6 months ago
  • 1.1.12                                ...           6 months ago
  • 1.1.11                                ...           7 months ago
  • 1.1.10                                ...           7 months ago
  • 1.1.9                                ...           7 months ago
  • 1.1.8                                ...           7 months ago
  • 1.1.7                                ...           7 months ago
  • 1.1.6                                ...           7 months ago
  • 1.1.5                                ...           8 months ago
  • 1.1.4                                ...           8 months ago
  • 1.1.3                                ...           8 months ago
  • 1.1.3-beta.2                                ...           8 months ago
  • 1.1.3-beta.1                                ...           8 months ago
  • 1.1.3-beta                                ...           8 months ago
  • 1.1.2                                ...           8 months ago
  • 1.2.0-beta.0                                ...           8 months ago
  • 1.1.1-beta1                                ...           8 months ago
  • 1.1.1                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.5-beta2                                ...           9 months ago
  • 1.0.5-beta                                ...           9 months ago
  • 1.0.4                                ...           9 months ago
  • 1.0.4-beta.0                                ...           9 months ago
  • 1.0.3                                ...           10 months ago
  • 1.0.3-beta.1                                ...           10 months ago
  • 1.0.3-beta.0                                ...           10 months ago
  • 0.11.41                                ...           10 months ago
  • 1.0.2                                ...           10 months ago
  • 1.0.2-beta.2                                ...           10 months ago
  • 1.0.2-beta.1                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
  • 0.11.40                                ...           10 months ago
  • 0.11.39                                ...           10 months ago
  • 0.11.38                                ...           10 months ago
  • 0.11.37                                ...           10 months ago
  • 0.11.35                                ...           a year ago
  • 0.11.34                                ...           a year ago
  • 0.11.33                                ...           a year ago
  • 0.11.32                                ...           a year ago
  • 0.11.31                                ...           a year ago
  • 0.11.30                                ...           a year ago
  • 0.11.29                                ...           a year ago
  • 0.11.28                                ...           a year ago
  • 0.11.27                                ...           a year ago
  • 0.11.26                                ...           a year ago
  • 0.11.25                                ...           a year ago
  • 0.11.24                                ...           a year ago
  • 0.11.23                                ...           a year ago
  • 0.11.22                                ...           a year ago
  • 0.11.21                                ...           a year ago
  • 0.11.20                                ...           a year ago
  • 0.11.19                                ...           a year ago
  • 0.11.18                                ...           a year ago
  • 0.11.17                                ...           a year ago
  • 0.11.16                                ...           a year ago
  • 0.11.15                                ...           a year ago
  • 0.11.14                                ...           a year ago
  • 0.11.13                                ...           a year ago
  • 0.11.12                                ...           a year ago
  • 0.11.11                                ...           a year ago
  • 0.11.10                                ...           a year ago
  • 0.11.9                                ...           a year ago
  • 0.11.8                                ...           a year ago
  • 0.11.7                                ...           a year ago
  • 0.11.6                                ...           a year ago
  • 0.11.5                                ...           a year ago
  • 0.11.4                                ...           a year ago
  • 0.11.3                                ...           a year ago
  • 0.11.2                                ...           a year ago
  • 0.11.1                                ...           a year ago
  • 0.11.0                                ...           a year ago
  • 0.1.0-beta.6                                ...           a year ago
  • 0.1.0-beta.5                                ...           a year ago
  • 0.1.0-beta.4                                ...           a year ago
  • 0.1.0-beta.3                                ...           a year ago
  • 0.1.0-beta.2                                ...           a year ago
  • 0.1.0-beta.1                                ...           a year ago
  • 0.1.0-beta.0                                ...           a year ago
Downloads
Today 9
This Week 1,117
This Month 14,054
Last Day 1,108
Last Week 6,667
Last Month 27,061
Dependencies (7)

Copyright 2014 - 2016 © taobao.org |