1 min read

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.

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


  • 📦 Pretty and high-quality charts out of box
  • 🎨 Visual language and design specification extracted from enterprise products
  • 📊 Responsive charts
  • 🔳 Story-telling charts
Image loading failed


$ npm install @antv/g2plot


<div id="container"></div>


# install dependences
$ npm install

# run test case
$ npm run test

# build & run website with watching file changes
$ npm run start