# 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 是一套基于可视化编码的图形语法,以数据驱动,具有高度的易用性和扩展性,用户无需关注各种繁琐的实现细节,一条语句即可构建出各种各样的可交互的统计图表。 **在此衷心感谢[《The Grammar of Graphics》](https://www.cs.uic.edu/~wilkinson/TheGrammarOfGraphics/GOG.html)的作者 [Leland Wilkinson](https://en.wikipedia.org/wiki/Leland_Wilkinson),为 G2 的图形语法提供了理论基础!**
## 安装 ```bash npm install @antv/g2 ``` ## 快速开始