Hi
I am trying to combine these two examples:
var circle = svg.selectAll("circle")
.data(nodes)
.enter()
.append("a")
.attr("class", "bubble-node")
.attr("xlink:href", function(d) { return 'Javascript:alert(\"' +
d.name+ '\")'; })
.text(function(d) { return
d.name; })
.style("font-size", "24px")
.style("font-color", "#fff")
.attr("dy", ".3em")
.append("circle")
.attr("r", function(d) { return d.radius; })
.style("fill", function(d) { return d.color; })
.call(force.drag)
Many Thanks
Aneesha