1
は、月ごとに平均分温度をプロットするのは簡単だった:Vega-Liteで軸に複数の変数をプロットする方法は?ベガ・ライトのシアトルの天気チュートリアル後
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"url": "https://vega.github.io/vega-lite/data/seattle-weather.csv"
},
"mark": "line",
"encoding": {
"x": {
"timeUnit": "month",
"field": "date",
"type": "temporal"
},
"y": {
"aggregate": "mean",
"field": "temp_min",
"type": "quantitative"
}
}
}
このデータセットはまたtemp_max
変数を持っています。 temp_min
とtemp_max
の両方をy軸にプロットするにはどうすればよいですか?