Coder Social home page Coder Social logo

zengwenkai / g2plot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antvis/g2plot

0.0 0.0 0.0 24.89 MB

:dango: An interactive and responsive charting library

Home Page: https://g2plot.antv.vision

License: MIT License

JavaScript 0.36% TypeScript 99.46% Less 0.18%

g2plot's Introduction

English | 简体中文

G2Plot

A charting library based on the Grammar of Graphics.

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

WebsiteQuick StartBlogAntV ThemeSet

G2Plot is an interactive and responsive charting library. Based on the grammar of graphics, you can easily make superior statistical charts through a few lines of code.


✨ Features

📦 Pretty & Lightweight

With AntV design principles of data visualization, G2Plot provides standard and elegant visual styles as well as neat config options.

📊 Responsive

G2Plot guarantees the readability of the charts in different sizes and data.

🔳 Storytelling

With the feature of layers, charts can be grouped, nested or linked to do exploratory analysis and expressive storytelling.

📦 Installation

$ npm install @antv/g2plot

🔨 Usage

<div id="container"></div>
import { Bar } from '@antv/g2plot';

const data = [
  { year: '1951 年', sales: 38 },
  { year: '1952 年', sales: 52 },
  { year: '1956 年', sales: 61 },
  { year: '1957 年', sales: 145 },
  { year: '1958 年', sales: 48 },
];

const bar = new Bar('container', {
  data,
  xField: 'sales',
  yField: 'year',
  seriesField: 'year',
});

bar.render();

🤝 How to Contribute

Your contributions are always welcome! Please Do have a look at the issues first.

To become a contributor, please follow our contributing guide.

📧 Contact us

钉钉群组号码: 30233731

🔗 Links

ChartCube - Online chart making tool based on G2Plot.

License

MIT

g2plot's People

Contributors

visiky avatar hustcc avatar lxfu1 avatar liuzhenying avatar lessmost avatar arcsin1 avatar zhangzhonghe avatar yp0413150120 avatar bbsqq avatar darrenpei avatar connono avatar yujs avatar afc163 avatar pearmini avatar mjul avatar ai-qing-hai avatar guonanci avatar ntscshen avatar mrsmallliu avatar kagawagao avatar dawnlck avatar carisl avatar mayneyao avatar yanglbme avatar beewolf233 avatar lqzhgood avatar neoddish avatar stack-stark avatar newbyvector avatar xingwanying avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.