Public
Edited
Dec 30, 2023
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mathjs = require('mathjs')
Insert cell
Insert cell
function logit(x){
return Math.log(x/(1-x))
}
Insert cell
function logistic(x){
return 1/(1 + Math.exp(-x))
}
Insert cell
Insert cell
Insert cell
mean = d3.mean(draws)
Insert cell
Insert cell
Insert cell
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