Accepted answer

You have to use d3.csv.parseRows instead of d3.csv. This will return an array of arrays representing the parsed rows.


You can use the parseRows method if you want all the file parsed. However, if you just want to have access to some rows, you can use the parse method directly on that string, e.g.:

globalDataRow = d3.csv.parse(globaldata[1])

Then globalDataRow[1] would give you EntryB1.

Related Query

More Query from same tag