// equivalent to d3.scaleLinear().domain([0, 1]).range([-1, +1]).invert
tanh=((slope)=>(x)=>Math.tanh(slope*x))(slope)
omega=(ƒ)=>2*Math.PI*ƒ// unit: rad / s
dB=(x)=>20*Math.log10(x)
// µ, for micro
µ=x=>x*1e-6
// n, for nano
n=(x)=>x*1e-9
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.