score:4

Accepted answer

You have to append a link after filtering the data like that :

cells.filter(function(d, i) { return i === 0})
    .append("a")
    .attr("href", function(d) {
        return "http://test/" + d.value;
    })
    .html(function(d) {
        return (d.value);
    });

See https://jsfiddle.net/o64e570x/1/

It's also possible to filter with the column name with

 cells.filter(function(d, i) { return d.column === "NAME"})

Related Query

More Query from same tag