Public
Edited
Jun 8, 2023
1 fork
1 star
Insert cell
Insert cell
bls = FileAttachment("bls-metro-unemployment.csv").csv({typed: true})
Insert cell
plot = Plot.line(bls, { x: "date", y: "unemployment", z: "division" }).plot()
Insert cell
groups = d3.select(plot).select("[aria-label=line]").selectAll("path").data()
Insert cell
Array.from(groups[0], (i) => bls[i]) // all things "Bethesda-Rockville-Frederick, MD Met Div"
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