VegaLite({
data: {values: DataImpute},
mark: {type: "line", point: true},
encoding: {
x: {timeUnit: "month", field: "date", type: "temporal"},
y: {aggregate: "mean", field: "temp_max", type: "quantitative", defined:false},
color: {
condition: {test: {field: "temp_max", aggregate: "mean", valid: false}, value: "transparent"},
field: "weather", type: "nominal"}
}
})