Notebooks 2.0 is here.

Public
Edited
Jan 24, 2024
Insert cell
Insert cell
data = [
{
a: 4,
b: 1,
c: 3
},
{
a: 1,
b: 2,
c: 3
},
{
a: 1,
b: 2,
c: 5
}
]
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
data1 = Array.from(sums, ([key, value]) => ({key, sum: value}));
Insert cell
data1
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
data2
X
sum
Y
key
Color
Size
Facet X
Facet Y
Mark
bar
Type Chart, 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