.attr("transform", "translate("+h-padding+","+(padding)+")")
. I tried several values to see if it works but no success so far. Can any one help please? I've been on this for hours now. Here's my codepen.
const svg = d3
.select("body")
.append("svg")
.attr("width", svg_width)
.attr("height", svg_height);
.