Unlisted
Edited
Nov 14, 2024
Insert cell
Insert cell
data = d3.json("https://gist.githubusercontent.com/Plantain/b2d4b574e158970543ab6d3a75139084/raw/72ba989d918d4187e2fd7f13483bc7952c523a60/gistfile1.txt");
Insert cell
Plot.plot({
y: {
domain: [0, 4000],
},
color: {
domain: [0, 4],
scheme: "turbo"
},
marks: [
Plot.contour(data.ti, {
x: "time",
y: "altitude",
fill: "ti",
stroke: "black",
fillOpacity: 0.8,
thresholds: [0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0]
}),
]
})
Insert cell
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]
}),
]
})
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more