I am trying to generate a scatterplot using chartJS. The plot wont graph. When i feed in data manually by declaring the data, it works fine,
var scatter = [