import { aq, op } from "@uwdata/arquero"
= "https://isithot-data.s3.fr-par.scw.cloud/www/"
bucket_base
= FileAttachment FA
So sieht der Rest von Deutschland heute bisher aus.
= (new Date()).getUTCHours()
nowHour >= 10 && nowHour <= 22 ?
nowHour md`Mancherorts kann es im Laufe der Nacht noch abkühlen.` :
md`Mancherorts kann es im Laufe des Tages noch wärmer werden.`
= statsAll.filter(d => (!d.max_stale) && (!d.min_stale))
currentStats = statsAll.filter(d => d.max_stale || d.min_stale) staleStats
// breaking out the pointer layer for readability
// (and in case we decide to customise it later)
= Plot.pointer({
tipTemplate x: "lon",
y: "lat",
channels: {
place: {
label: "",
value: d => d.isit_label,
,
}label: {
label: "",
value: d => d.isit_comment
,
}separator: {
label: "",
value: d => ""
,
}isit_maximum: {
label: "Max:",
value: d => d.isit_maximum + "°C"
,
}isit_minimum: {
label: "Min:",
value: d => d.isit_minimum + "°C"
},
}fontSize: 20,
fontFamily: "Roboto Condensed",
format: {
x: null,
y: null
,
}lineWidth: 20,
lineHeight: 1.25,
pointerSize: 0,
fillOpacity: 0.8,
strokeOpacity: 0
})
Dieses Projekt gibt es auch für andere Länder