Plot.plot({
width:1200,
height:500,
style: {
fontSize: "15px"
},
marks: [
Plot.line(data, {x: "date", y: "temp_max",stroke:"blue",strokeOpacity:0.5}),
Plot.line(data, {x: "date", y: "temp_min",stroke:"orange",strokeOpacity:0.5}),
Plot.tickY(data,Plot.groupZ({y:"mean"},{y:"temp_max",stroke:"Blue",strokeWidth:5,strokeOpacity:0.6})),
Plot.tickY(data,Plot.groupZ({y:"mean"},{y:"temp_min",stroke:"orange",strokeWidth:5,strokeOpacity:0.6}))
]
})