Public
Edited
May 15
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
footnotes = Array.from(
new Set(
data.records
.map((x) => x.footnotes)
.flat()
.filter((x) => x.type === "Source")
.map((x) => x.value)
)
)
Insert cell
import { addTooltips } from "@mkfreeman/plot-tooltip"
Insert cell
getSource = (x) =>
x.footnotes.find((x) => x.type === "Source")?.value?.slice(0, 50) ?? "NA"
Insert cell
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