areachart = {
const svg = d3
.create("svg")
.attr("width", width)
.attr("height", height);
svg.append("g").call(xAxis);
svg.append("g").call(yAxis);
svg.append("g").call(yAxis2);
svg
.append("path")
.datum(weather)
.attr("fill", "none")
.attr("stroke", "purple")
.attr("stroke-width", 1.5)
.attr("stroke-linejoin", "round")
.attr("stroke-linecap", "round");
svg
.append("path")
.datum(weather)
.attr("fill", "none")
.attr("stroke", "purple")
.attr("stroke-width", 1.5)
.attr("stroke-linejoin", "round")
.attr("stroke-linecap", "round")
.attr("d", line);
svg
.append("path")
.datum(weather)
.attr("fill", 'steelblue')
.attr("d", area);
return svg.node();
}