score:1

Accepted answer

Change the variable name,

    data1 To data

And remove these line

 1.  d3.tsv("data.tsv", type, function(error, data) {
 2.  });

See DEMO Here


Related Query

More Query from same tag