Plot.plot({
grid: true,
width: width,
marks: [
Plot.line(data, Plot.windowY({x: "date", y: "temp_max", stroke: "red", k:28})),
Plot.line(data, Plot.windowY({x: "date", y: "temp_min", stroke: "blue", k:28})),
Plot.line(data, {x: "date", y: "temp_max", stroke: "pink"}),
Plot.line(data, {x: "date", y: "temp_min", stroke: "grey"}),
]
})