Data of CSV File shows as one group
Hi everyone,
i´m currently trying to path a graph from a CSV file in after effects, but i´m still having a few problems. When importing the CSV file into after effects, it shows as one group (time;cases;...;...)

instead of having each of these in a different group (when importing it as a TSV file it does split it up into different groups, but it cant turn the results into numeric values).

When working with the TSV File the code works but only gives me a straight line a the bottom. Is there anything more wrong with my code?
var numberOfPoints = thisComp.layer("data all.tsv")("Data")("Number of Rows");
var spacingForPoints = thisComp.width / numberOfPoints;
var startingSpaceX = 0;
var thePath = content("Shape 1").content("Path 1").path;
var maximumYValue = effect("MaximumYValue")("Slider");
var lineHeight = 0;
var arrayOfPoints = [];
for(var i = 0; i < numberOfPoints; i++) {
var data = thisComp.layer("data all.tsv");
var S_down = data.footage("data all.tsv").dataValue([1,i])
lineHeight = linear(S_down, 0, effect("MaximumYValue")("Slider"), content("Shape 1").content("Stroke 1").strokeWidth/2, thisComp.height)*-1;
arrayOfPoints[i] = [startingSpaceX, lineHeight];
startingSpaceX += spacingForPoints;
}
thePath.createPath(points=arrayOfPoints, inTangents=[], outTangents=[], is_closed=false);Happy for help! Thanks!
