svg = {
const svg = d3
.create("svg")
.attr("viewBox", [0, 0, width, width * 0.75])
.attr("width", width)
.attr("height", width * 0.75)
.attr("id", "svg-layer")
.classed("shared-zoom", true);
const makeAnnotations = d3_annotation
.annotation()
.type(d3_annotation.annotationLabel)
.annotations(annotations);
svg.append("g").attr("class", annotationGroupClassName).call(makeAnnotations);
return svg.node();
}