0.2.1 • Published 11 years ago

melt-data v0.2.1

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Build Status

Melt.js

Javascript library inspired by the R reshape package by Hadley Wickham.

Melt

Melt is currently the only method provided by this library. How does it work?

First, it presumes you have your data in the form of a list of objects. That looks like this:

var data = [
  {key1: 1, key2: 2},
  {key1: 2, key2: 3},
  {key1: 3, key2: 5},
];

But if you need the keys to be represented as a value, then melt can come to the rescue. Let's take a look at some examples:

Example 1

Try it yourself with this jsfiddle

Cast

Coming soon!

License

Apache 2