score:1

Accepted answer

ok.. solved it! for everyone who is interested or having the same trouble:

my last attempt was nearly correct but i was not able to transform via .style(...). i had to use .attr(...) like this:

arr.append("g") .attr("class", "arrow") .attr('transform', (d, i) => translate(0, ${d.r/2})');


Related Query

More Query from same tag