I'm a newbie with D3.js and I have a specific issue. I'm trying to put one element (circle) inside of an SVG above an HTML div with absolute position, There is something that I could do there?
I've tried putting z-index, changing position types... I think my issue is with the SVG that I can't apply the same rules as normally I do with regular HTML.
See this example https://jsfiddle.net/L70yk9f1/13/
div.a {
width: 400px;
height: 400px;
background: lightgrey;
}
div.b {
width: 200px;
height: 400px;
background: lightgreen;
position: absolute;
top: 8px;
left: 400px;
}
<!-- the circle should appear above the green div -->
<div class="a">
<svg width="400px" height="400px">
<circle cx="390" cy="100" r="50" x="100" style="stroke: black; fill: yellow;"/>
</svg>
</div>
<div class="b"></div>
I'm trying to put the yellow circle (one element inside of an SVG) above the green div.