GithubHelp home page GithubHelp logo

semigradsky / taucharts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from targetprocess/taucharts

0.0 3.0 0.0 7.8 MB

D3 based data-focused charting library. Designed with passion. Flexible.

Home Page: http://www.taucharts.com

License: Other

JavaScript 83.25% CSS 16.75%

taucharts's Introduction

Taucharts Build Status Coverage Status Code Climate

Taucharts is a data-focused javascript charting library based on D3 and designed with passion.

#####Official website: www.taucharts.com #####Documentation: api.taucharts.com #####Project blog: blog.taucharts.com

##Why use Taucharts? ####Simplicity Data plays a key role in Taucharts. The library provides a declarative interface for fast mapping of data fields to visual properties. ####Flexibility The library's architecture allows you to build facets and extend chart behaviour with reusable plugins. ####Design The Taucharts team is passionate about beautiful design. ####... Dive into the high-level Taucharts concepts and usage reviews.

##How to use Taucharts

####Using Taucharts with a CDN

Load javascript dependencies

<script src="//cdn.jsdelivr.net/d3js/latest/d3.min.js" charset="utf-8"></script>
<script src="//cdn.jsdelivr.net/underscorejs/latest/underscore-min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/taucharts/latest/tauCharts.min.js" type="text/javascript"></script>

Include a CSS file, as well

<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/taucharts/latest/tauCharts.min.css">

####Downloading Taucharts using Bower

bower install taucharts

####Downloading Taucharts using npm

npm install taucharts

=========

Below are some popular usage scenarios. For more examples, see our experimental sample page.

####Scatter plot

var chart = new tauCharts.Chart({
    "type" : "scatterplot",
    "x"    : "eccentricity",
    "y"    : "period",
    "color": "name",
    "size" : "mass",
    "data" : [{"eccentricity": 0, "period": 4.95, "name": "exoplanet", "mass": 38.0952}, ...]
});

Scatterplot

See scatter plot documentation

=========

####Line chart

var chart = new tauCharts.Chart({
    "type" : "line",
    "y"    : "SUM(Total Medals)",
    "x"    : "Age",
    "color": "Sport",
    "data" : [{ "Sport": "Swimming", "Age": 23, "SUM(Total Medals)": 72 }, ...]
});

Line Chart

See line chart documentation

=========

####Bar chart

var chart = new tauCharts.Chart({
    type : 'bar',
    x    : 'team',
    y    : 'effort',
    color:'priority',
    data : [{"team": "d", "cycleTime": 1, "effort": 1, "count": 1, "priority": "low"}, ...]
});

Bar Chart

See bar chart documentation

=========

####Horizontal bar chart

var chart = new tauCharts.Chart({
    type : 'horizontal-bar',
    x    : 'count',
    y    : 'team',
    data : [{"team": "alpha", "count": 8}, ...]
});

Horizontal Bar Chart

See horizontal bar chart documentation

=========

####Stacked bar chart

var chart = new tauCharts.Chart({
    type : 'stacked-bar',
    x    : 'process',
    y    : 'count',
    color: 'stage',
    data : [{process: 'sales', stage: 'visit', count: 100}, ...]
});

Stacked Bar Chart

See stacked bar chart documentation

=========

####Horizontal stacked bar chart

var chart = new tauCharts.Chart({
    type : 'horizontal-stacked-bar',
    y    : 'process',
    x    : 'count',
    color: 'stage',
    data : [{process: 'sales', stage: 'visit', count: 100}, ...]
});

Horizontal Stacked Bar Chart

See horizontal stacked bar chart documentation

=========

####Facet chart

var chart1 = new tauCharts.Chart({
  type : 'scatterplot',
  x    : ['milespergallon'],
  y    : ['class', 'price'],
  color: 'class',
  data : [{class: "C", milespergallon: 41.26, price: 24509.74, vehicle: "Prius1"}, ...]
});

Facet scatterplot chart

See facet charts documentation

=========

####Data Streaming

var chart1 = new tauCharts.Chart({
    type : 'line',
    x    : 'x',
    y    : 'y',
    color: 'type',
    ...
});

Streaming Data Chart

This sample uses the [setData(..)] method to refresh the chart's data source.

See streaming sample online

=========

####Complex Composable charts Composable Chart

See composable chart sample online

=========

##Taucharts examples / usage reviews

R Wrapper

SqlPad Project

Targetprocess Graphical Reports

Vizydrop project

Taucharts Twitter channel

Taucharts demo page

##License

Licensing: Apache License, Version 2.0

Have questions? Contact us

taucharts's People

Contributors

alehmr avatar alex-fomin avatar blackazaru avatar khmylov avatar leonchenko avatar mavrin avatar mdubakov avatar nadiab avatar nutic avatar unutranyholas avatar victor-homyakov avatar vladminsky avatar

Watchers

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