Public
Edited
Dec 9, 2022
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
width: 960,
height: 860,
x: {
axis: "top",
grid: true,
domain: [1960, 2020]
},
fy: {
grid: true,
tickFormat: (d) => d ?? "N/A",
label: null,
padding: 0
},
facet: {
data: oeuvresMac,
y: "categorie",
marginLeft: 120
},
marks: [
Plot.dot(
oeuvresMac,
Plot.dodgeY(
{
anchor: "middle",
padding: -2
},
{
x: "dateAcquisition",
stroke: "categorie",
r: 2.5
}
)
)
]
})
Insert cell
oeuvresMac = FileAttachment("oeuvres-mac.json").json()
Insert cell
artistesMac = FileAttachment("artistes-mac.json").json()
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