Animation nodes - Driving scale attribute from a CSV list to create a bar chart
At the moment your “parse” loop loops over the list of lines given by the Split Text node with mode set to lines. This is useful if your .csv file is in this form:

name, value
A, 1
B, 2
C, 3


But if your file is in the form of

A, B, C
1, 2, 3


then you'll have to


split the file into lines,  
pick the line with the values in it,  
split this line at the value separators outside of the loop  
and then loop over the value strings.




Depending on the number format of your values (e.g. decimal comma, thousands separator) you might have to use a script node to parse them. However, a simple Parse Number node might be enough for your file. The parsed number has to be piped into the loop's output that you can generate by clicking New Generator Output and choosing the type Float List.



Finally, the parsed list of numbers will be piped as an additional iterator into the other loop which is used to place and scale the bars (New Iterator > Float List). Using a Vector from Value node, piped into the Object Transforms Ouput is sufficient if you only enable scaling for the Z value, but you could also use a Combine Vector node:



If the number of columns in your .csv file is the same as the number of bars then you could also combine them into a single loop with one Object List iterator and one String List iterator. However, two loops offer more flexibility if the .csv file should contain a column header (or line header in your case) or when you want to select for which values you want to create a bar.