multilinechart = {
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height);
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
svg.selectAll('.line')
.data(dataGroup)
.join('path')
.attr("class", "line")
.attr("d", d => lineMultiCases(d[1]))
.attr("stroke", d => colorScale(d[0]))
.style("fill", "none")
.style("stroke-width", 1);
svg.call(legend);
return svg.node();
}