I use in the same script Jquery and D3.js. I have a svg element that I modify using D3.js. And then when I make a selection on this element with Jquery I cannot see the modification made by D3.js.
DOM at beginning:
<svg>
<g id="myId"></g>
</svg>
DOM after modifying it with D3.js:
<svg>
<g id="myId" transform="translate(10, 10)"></g>
</svg>
And then:
$("#myId").attr("transform") --> return undefined.
I don't get what is wrong here. Any idea ?