Plot.plot({
y: {
domain: [0, 4000],
},
color: {
domain: [0, 4],
},
marks: [
Plot.contour(data.ti, {
x: "time",
y: "altitude",
value: "ti",
fill: Plot.identity,
stroke: "black",
fillOpacity: 0.8,
thresholds: [0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0]
}),
]
})