score:0

You are creating an svg node for each bar. Try inspecting the DOM using the Chrome Dev tools

score:0

The answer is that I had to fix my positioning. I ended up making the containing div position:relative; and then my elements within the div position:absolute;

#GDP {
position: relative;
}

#GDP > * {
    position: absolute;
}

g {
    position: absolute;
}

Related Query

More Query from same tag