Giter VIP home page Giter VIP logo

bizcharts's Introduction

BizCharts

NPM Package NPM Downloads

New charting and visualization library has been released: http://bizcharts.net/products/bizCharts.

Please move to it and we won't maintain the old version soon.

More details about BizCharts

Features

  • React es6 grammar
  • Easy to use
  • Strong expansion capability
  • Support most data visualization charts

see more demos

Installation

npm

$ npm install bizcharts

umd

 <script src="https://unpkg.com/bizcharts@${version}/umd/BizCharts.min.js"></script>

dev build

$ git clone https://github.com/alibaba/BizCharts.git
$ cd BizCharts
$ npm install
$ npm run build

dev demo

$ sudo vi /etc/hosts
// add 127.0.0.1 localhost
$ npm run[-script] demo
// open in browser http://localhost:3510/

Usage

import {Chart, Axis, Tooltip, Geom} from "bizcharts";

const data = [...];

<Chart height={400} data={data} forceFit>
  <Axis name="month" />
  <Axis name="temperature" label={{formatter: val => `${val}°C`}} />
  <Tooltip crosshairs={{type : 'y'}} />
  <Geom type="line" position="month*temperature" size={2} color={'city'} />
  <Geom type="point" position="month*temperature" size={4} color={'city'} />
</Chart>

Document

tutorial

api

How to Contribute

We welcome all contributions. You could submit any ideas as pull requests. Thank you for your interest and have a good time. Please let us know how can we help. Do check out issues for bug reports or suggestions first.

Experience improvement plan description

In order to better service to users, and G2 will monitoring, such as URL information is sent back to AntV server, BizCharts did not close the request: https://kcart.alipay.com/web/bi.do

No other information is collected except the URL and G2 version information, all in order to have a better understanding of how G2 works and better serve users. If you are worried, you can close it by the following code:

// close G2 experience improvement plan dot request (such as server-side rendering)
BizCharts.Track (false);

update:

G2 decided to terminate the "Experience Improvement Program". In verson @antv/[email protected](released at 2018.12.26) and above, all tracking code is removed, no unexpected remote request will be sent while you are using G2. And Bizcharts Upgrade the dependent version the first time at 2018.12.26 24:00.

License

BizCharts is available under the License MIT.

bizcharts's People

Contributors

afc163 avatar bamboosword avatar billychou avatar boiawang avatar brodanoel avatar christyweinstein avatar cryrivers avatar dickeylth avatar frezc avatar heiniuhaha avatar ironicstone avatar kagawagao avatar kiangtengl avatar leannechn avatar leslie2014 avatar leungwensen avatar lichenbuliren avatar liunian avatar lulu27753 avatar michael-land avatar newraina avatar ssfxz avatar thetimbecker avatar ty-cs avatar varharrie avatar wangyukai04 avatar weepy3641 avatar xiaohuoni avatar xiaran113 avatar zheeeng avatar

Watchers

 avatar  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.