Giter Club home page Giter Club logo

paral-coords's Introduction

Parallel Cooridnates

A toolkit to add multiple charts feature onto parallel coordinates implementation in D3 http://mbostock.github.io/d3/talk/20111116/iris-parallel.html. Reimplement it in Coffee script.

Usage

window.paral_cord (option);

avaialble option:

  • marginLeft (opt): Left margin, default is 100
  • marginRight (opt): Right margin, default is 100
  • marginTop (opt): Top margin, default is 50
  • marginBottom (opt): Buttom margin, default is 50
  • width (opt): Width of the whole SVG graph, default is 800
  • height (opt): Height of the whole SVG graph, default is 400
  • spacer (opt): Space between two chargs, default is 30
  • titleSize (opt): The font size of titles of each charts, default is 20
  • colorDecider (opt): A function accepting a data entry and return a color string. Default is "blue"
  • rootDom (required): The root dom selector to render SVN graph
  • data (required): Array of data entry:
    • path (required): The url to fetch data set
    • name (required): The title of data set
    • format (required): The format of data set
  • units (required): Mapping from attribute name to its data entry property
    • name (required): Title of the attribute, will be used as the axis name
    • type (required): "number" or "text"
    • domain (opt): An array represented domain, used when ordinal domain needs certain order

Dependency

  • jQuery
  • d3js
  • underscore

License

Just steal the shit of it.

TODO

  1. Support multiple data format
  2. Support asynchronous data loading
  3. Demo page

paral-coords's People

Contributors

furtherlee avatar

Watchers

 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.