Looking to use the data in a CSV to create a network graph. Kinda stuck at the first hurdle as I want to create an array of arrays from the CSV using PapaParse, however can't seem to push the data from papaParse into my array, all I get is an empty array returned in my console. Can anyone tell me what I'm doing wrong?
var dirtyNodeData = [];
Papa.parse("http://example.com/tmp/csvfile.csv", {
    download: true,
    header: false,
    complete: function(results) {
        dirtyNodeData.push(results.data);
    }
});
console.log(dirtyNodeData);                 
 
    