Public
Edited
Jul 27, 2024
Insert cell
Insert cell
Plot.plot({
y: { grid: true },
color: {
legend: true,
type: "threshold",
domain: [0],
range: ["#3ca951", "#ff725c"]
},
marks: [
Plot.lineY(
gistemp,
Plot.binX({ y: "mean" }, { x: "Date", y: "Anomaly", tip: true })
),
Plot.dot(
gistemp,
Plot.binX(
{ y: "mean", stroke: "mean" },
{ x: "Date", y: "Anomaly", stroke: "Anomaly", strokeWidth: 8 }
)
)
]
})
Insert cell
gistemp = FileAttachment("gistemp.csv").csv({typed: true})
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