I want to select and remove a textPath from a SVG where xlink:href=id
.
A textPath has an attribute xlink:href and I have a variable called 'id'.
I want to remove textPath that has xlink:href equal to the value stored in variable id.
Something like this:
d3.select("textPath*some condition*").remove();
Can this be done? If yes, how?