Introduction

阅读时间约 1 分钟

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

Features

  • 📦 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

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