Plot.plot({
color: { legend: true },
title: "Weather example",
subtitle: "Anselm Semiar",
y: { label: "Temp in Celsius" },
marks: [
Plot.frame({ strokeOpacity: 0.1 }),
Plot.dot(await FileAttachment("weather.csv").csv({ typed: "auto" }), {
fy: "location",
x: "date",
y: "temp_max",
stroke: "wind",
tip: true
})
]
})