score:4

Accepted answer

Here you go:

http://jsfiddle.net/VTJ5G/

Just changed the relevant code in two spots to:

d3.select("#tooltip")
    .select("#keyword")
    .style("color", d3.select(this).style("fill"))
    .text(d.keyword);

Related Query