Consider the following simplified csv file
x,y,names 1,2,group1 3,2,group2 4,3,group1 7,8,group3 3,5,group2
which I am reading in with d3.csv