temporalchartwithaxis = {
const svg = d3.create("svg")
.attr("width", width)
.attr("height", height)
.style('border', '1px dotted #999');
svg.append("g")
.call(xAxis);
svg.append("g")
.call(yAxis);
svg.append("path")
.datum(desiredData)
.attr("fill", "none")
.attr("stroke", "purple")
.attr("stroke-width", 2)
.attr("stroke-linejoin", "round")
.attr("stroke-linecap", "round")
.attr("d", line('new_deaths_smoothed'));
svg.append("path")
.datum(desiredData)
.attr("fill", "none")
.attr("stroke", "steelblue")
.attr("stroke-width", 1)
.attr("stroke-linejoin", "round")
.attr("stroke-linecap", "round")
.attr("d", line('predicted_new_deaths_smoothed'));
return svg.node();
}