Public
Edited
Jul 26, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// 以下をchart-template.component.ts の createPlot() に貼りつける
Plot.plot({
marks: [
Plot.rectY(data.measurements, Plot.binX({y: "count"}, {x: "c8y_Temperature_T_value", fill: "source_id"}))
]
});
Insert cell
// 取得したデータを使い、グラフの形状や色を変えることで Observable 上で様々な可視化を試すことができます
Plot.plot({
marks: [
Plot.line(data.measurements, {x: "time", y: "c8y_TemperatureMeasurement_T_value", stroke: "lightblue"})
]
});
Insert cell
Insert cell
Insert cell
Insert cell
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