Public
Edited
Jul 10, 2024
Insert cell
Insert cell
Plot.plot({
title: "title",
subtitle: "subtitle",
caption: "caption",
height: 600,
color: { legend: true, scheme: "Set2" },
x: { ticks: false, label: null },
y: { ticks: false, label: null },
caption: "sts embeddings",
marks: [
Plot.dot(letters, {
x: "x_clova_sts", y: "y_clova_sts",
// stroke: "group_sts", fill: "group_sts",
r: 3,
href: (d) => d["레터 원문"],
target: "_blank",
tip: true,
title: (d) => `${d.제목.trim()} (${d.by})\n${d.발행일자}\n\n${d["요약-clova"]}`
})
]
})

Insert cell
Plot.plot({
title: "title",
subtitle: "subtitle",
caption: "caption",
height: 600,
color: { legend: true, scheme: "Set2" },
x: { ticks: false, label: null },
y: { ticks: false, label: null },
caption: "emb embeddings",
marks: [
Plot.dot(letters, {
x: "x_clova_emb", y: "y_clova_emb", stroke: "group_emb", fill: "group_emb", r: 3,
href: (d) => d["레터 원문"],
target: "_blank",
tip: true,
title: (d) => `${d.제목.trim()} (${d.by})\n${d.발행일자}\n\n${d["요약-clova"]}`
// title: (d) => `${d.제목.trim()} (${d.by})\n\n${d["요약-clova"]}\n\n${d.키워드.split(", ").map(word => "#" + word).join(" ")}`
})
]
})

Insert cell
ai-ethics-letter-2023-12-09@3.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