All examples By author By category About

ericbooker12

d3.tsv

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);
});

forked from mbostock's block: d3.tsv