Introduction
G2Plot is an interactive and responsive charting library based on the grammar of graphics, which enables users to generate high quality statistical charts through a few lines of code easily. G2 in "G2Plot" means the grammar of graphics and pays homage to ggplot2.
Features
- 📦 Pretty and high-quality charts out of box
- 🎨 Visual language and design specification extracted from enterprise products
- 📊 Responsive charts
- 🔳 Story-telling charts
Installation
$ npm install @antv/g2plot
Usage
<div id="container"></div>
Development
# install dependences
$ npm install
# run test case
$ npm run test
# build & run website with watching file changes
$ npm run start