Public
Edited
Jun 17, 2023
Logarithm and distribution
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function name(params) {
}
Insert cell
Insert cell
function rand (d, x) { return Float64Array.from({length: x}, d) }
Insert cell
rnorm = d3.randomNormal(500, 100)
Insert cell
xval_norm = rand(rnorm, n)
Insert cell
rexp = d3.randomNormal(1)
Insert cell
xval_exp = rand(rexp, n)
Insert cell
n = 250
Insert cell
Insert cell
Insert cell
functionPlot = require("https://unpkg.com/function-plot@1/dist/function-plot.js")
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