chart = {
const svg = d3.select(DOM.svg(width, height))
.style("width", "50%")
.style("height", "auto")
.style("font", "10px sans-serif");
svg.append("path")
.datum(data)
.attr("class", "line")
.attr("fill", "none")
.attr("stroke", "black")
.attr("stroke-width", "2")
.attr("d", line)
;
svg.append("path")
.datum(data)
.attr("class", "line")
.attr("fill", "none")
.attr("stroke", "black")
.attr("stroke-width", "2")
.attr("d", horLine)
;
return svg.node();
}