Public
Edited
Dec 1, 2023
Insert cell
Insert cell
Insert cell
res.reduce((sum, num) => sum + num, 0);
Insert cell
Insert cell
Insert cell
Insert cell
data.map(extractStringDigits).reduce((sum, num) => sum + num, 0);
Insert cell
digits = ({
one: 1,
two: 2,
three: 3,
four: 4,
five: 5,
six: 6,
seven: 7,
eight: 8,
nine: 9
})
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