Published
Edited
Aug 30, 2021
Insert cell
Insert cell
numbers = [2,5,3,7,8]
Insert cell
numbers[1]
Insert cell
heroes = [
{name:"Batman",id:"Bruce Wayne",villains:["Joker","Riddler","Penguin"]},
{name:"Superman",id:"Clark Kent",villains:["Lex Luthor","Brainiac","Zod"]},
{name:"Wonder Woman",id:"Diana Prince",villains:["Apollo","Ares","Cheetah"]},
{name:"Iron Man",id:"Tony Stark",villains:["Titanium Man","Thanos","Modoc"]}
]
Insert cell
heroes[1].villains[0]
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

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