block by mbostock 3305937

d3.tsv

Full Screen

D3 2.10 adds support for tab-separated values via d3.tsv. Similar to the previous d3.csv method, this makes it easy to load and parse TSV files.

d3.tsv("data.tsv", function(data) {
  console.log(data[0].x);
});

index.html

data.tsv