Published
Edited
Oct 17, 2019
Insert cell
Insert cell
function factorial(number){
return number <= 0 ? NaN : number === 1 ? number : number * factorial(number - 1);
}
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