Public
Edited
Apr 16, 2024
Insert cell
Insert cell
Plot.plot({
title: "Giants mean rank over time",
marks: [
Plot.ruleY([0]),
Plot.lineY(
power_rankings.filter(
(e) => (e.team === "Giants") & (e.Variable == "Mean")
),
{
x: "publish_date",
y: (d) =>
d.publish_date.getUTCMonth() < 3 || d.publish_date.getUTCMonth() > 10
? NaN
: d.Value,
z: "team"
}
)
]
})
Insert cell
kjacks_power_rankings_big_scrape.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

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