// this is a chart made with d3 (http://d3js.org/)
// the basic interface you can use (press CMD+s to evaluate)
this.xUnit = 'apples'; this.yUnit = 'pears';
this.data = Array.range(0, 10).collect(function(i) {
return {x: i, y: Numbers.random(0, i+1)}
});
this.update();