//data.tsv
name number
José 10
Childéric 65
Bernardo 23
Mireille 78
Rambo 80
var bardata = [];
d3.tsv('data.tsv', function (data) {
for (key in data) {
bardata.push({
name:data[key].nom,
nombre:data[key].nombre,
});
}
});