the $.get function is out of place here. jquery $.get loads data from the server using a get request. instead you need a plain file read.

an example how you could do this.

// read the csv file
var data ='test.csv');

var svg = page.evaluate(function(opt, data) {
    var lines = data.split('\n');
    // iterate over the lines and add categories or series
    $.each(lines, function(lineno, line) {
},evalarg, data);

Related Query

More Query from same tag