Unlisted
Edited
Apr 21, 2023
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.ruleX(simpsons, Plot.groupX({y1: "min", y2: "max"}, {x: "season", y: "imdb_rating"})),
Plot.dot(simpsons, {x: "season", y: "imdb_rating", fill: "currentColor", stroke: "var(--vp-c-bg)"}),
Plot.lineY(simpsons, Plot.groupX({y: "median"}, {x: "season", y: "imdb_rating", stroke: "red"}))
]
})
Insert cell
simpsons = FileAttachment("simpsons.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