Public
Edited
Sep 20, 2020
Insert cell
Insert cell
Insert cell
users = [
{ id: 2, name: 'Jane Browne', emails: ['jbrown@atx.io', 'j.brown@atlassian.net'], verified: true },
{ id: 4, name: 'John Greene', emails: ['jgreene@atx.io', 'j.greene@atlassian.net'], verified: false },
{ id: 9, name: 'Jack White', emails: ['jwhite@atx.io', 'j.white@atlassian.net'], verified: true },
];
Insert cell
Insert cell
display(users)
Insert cell
Insert cell
Insert cell
{
function getName(user) {
return user.name;
}
const names = users.map(getName);
return display(names);
}
Insert cell
display(
users.map(function(user) { return user.name; })
)
Insert cell
display(
users.map(user => user.name)
)
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