var sampleData = range(0, 40).map(function(i) {
return {
Number: i,
Function: Math.random(i) + Math.floor(i*.5)
}
});
$('#table').Meliorator('table', {
data: sampleData,
tableClass: 'originalTable'
});
$('#analytics').Meliorator('analytics-widget', {
data: parsedDataSet,
domainField: 'Number',
rangeField: 'Function',
domainAggregation: 'NONE',
renderAs: 'LINEBF'
});