Public
Edited
Sep 20, 2023
Insert cell
Insert cell
Plot.plot({
x: { type: "linear" },
y: { type: "log" },
marks: [
Plot.areaY(defect_spectrum, {
x: "xdata",
y1: 1,
y2: "ydata",
fill: "steelblue",
fillOpacity: 0.3
}),
Plot.lineY(defect_spectrum, {
x: "xdata",
y: "ydata",
stroke: "steelblue"
}),
Plot.ruleX([0]),
Plot.ruleY([1])
]
})
Insert cell
defect_spectrum = FileAttachment("defect_spectrum.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