Functional Bar Plot val xs = (-80..80).map { it.toDouble() / 8.0 } val function = { x: Double -> sin(x / 1.5) } val ys = xs.map(function) plot { bars { x(xs) y(ys) } } Last modified: 22 November 2023Stacked BarsHistogram Plot