Giter Site home page Giter Site logo

viser's Introduction

Viser

Introduction

A toolkit fit for data vis engineer based on G2. Viser support React, Vue and AngularJS.

The main purpose of this library is to help you to write charts in web applications without any pain. Main principles of Viser are:

  1. Simply deploy with semantic component with chart, including but not limited to React, Vue and AugularJS.
  2. Lightweight depending only on G2 which is a plotting system for Javascript, based on the grammar of graphics.

Installation

Viser include 3 version which is integrated by react, vue and angular. We provide NPM or UMD to use library.

NPM is the easiest and fastest way to get started using viser. It is the recommended installation method when building single-page applications (SPAs). It pairs nicely with a CommonJS module bundler such as Webpack.

UMD is the script way to using viser. It is convenient method when you used quickly.

Vue Version

In vue version, You mush prepare to vue version greater than 2.5 in project.

npm

The NPM way is only install by shell:

# latest stable
$ npm install viser-vue

umd

The UMD build is also available on unpkg.com:

 <script src="https://unpkg.com/viser-vue/umd/viser-vue.min.js"></script>

Then you can find the library on window.ViserVue.

Angular Version

In angular version, You mush prepare to angular version greater than 2.4 in project. In addition, you also prepare to reflect-metadata version greater than 0.1, rxjs version greater than 5 and zone.js version greater than 0.7.

npm

The NPM way is only install by shell:

# latest stable
$ npm install viser-ng

umd

The UMD build is also available on unpkg.com:

 <script src="https://unpkg.com/viser-ng/umd/viser-ng.min.js"></script>

Then you can find the library on window.ViserNg.

React Version

In react version, You mush repare react version greater then 15, and support 16 certainly.

npm

The NPM way is only install by shell:

# latest stable
$ npm install viser-react

umd

The UMD build is also available on unpkg.com:

 <script src="https://unpkg.com/viser-react/umd/viser-react.min.js"></script>

Then you can find the library on window.ViserReact.

Demo

To examine the demos in your local build, open to demo directory, and execute

$ git clone https://github.com/viserjs/viser.git
$ npm run bootstrap
$ cd ./demo && npm install
$ npm run start

and then browse to http://localhost:3000

License

MIT

Copyright (c) 2017 DT-FE

viser's People

Contributors

arcthur avatar ascoders avatar evilucifero avatar huxiaoyun avatar linhuiw avatar zheeeng avatar zoukanghua 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.