Public
Edited
Apr 12, 2023
Insert cell
Insert cell
Insert cell
Plot.plot({
width: width,
y: {
grid: true,
label: "# of news"
},
x: { ticks: 8 },
marks: [
Plot.areaY(points, {
x: "date",
y: "size",
strokeWidth: 2,
fill: "#e1575959"
}),
Plot.lineY(points, {
x: "date",
y: "size",
strokeWidth: 2,
stroke: "#e15759",
marker: "circle"
})
]
})
Insert cell
Insert cell
Insert cell
Insert cell
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