# G2
**Repository Path**: maxwhale/g2
## Basic Information
- **Project Name**: G2
- **Description**: G2 是一套基于可视化编码的图形语法,以数据驱动,具有高度的易用性和扩展性,用户无需关注各种繁琐的实现细节,一条语句即可构建出各种各样的可交互的统计图表。
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 63
- **Created**: 2018-05-21
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# G2: The Grammar of Graphics in JavaScript
[](https://travis-ci.org/antvis/g2)


[](https://www.npmjs.com/package/@antv/g2)
[](https://npmjs.org/package/@antv/g2)
[](http://isitmaintained.com/project/antvis/g2 "Percentage of issues still open")
G2 is a visualization grammar, a data-driven visual language with a high level of usability and scalability. It provides a set of grammars, takes users beyond a limited set of charts to an almost unlimited world of graphical forms. With G2, users can describe the visual appearance of a visualization just by one statement.
**Special thanks to [Leland Wilkinson](https://en.wikipedia.org/wiki/Leland_Wilkinson), the author of [*The Grammar Of Graphics*](https://www.cs.uic.edu/~wilkinson/TheGrammarOfGraphics/GOG.html), whose book served as the foundation for G2.**
[More details about G2](https://antv.alipay.com/zh-cn/g2/3.x/index.html).



## Installation
```js
npm install @antv/g2
```
### Usage
```html

## Development
```bash
$ npm install
# run test case
$ npm run test-live
# run demos
$ npm run demos
```
## How to Contribute
Please let us know how can we help. Do check out [issues](https://github.com/antvis/g2/issues) for bug reports or suggestions first.
To become a contributor, please follow our [contributing guide](https://github.com/antvis/g2/blob/master/CONTRIBUTING.md).