viewof bins = Inputs.range([5, 100], {value: 30, step: 5, label: "Bins:"})
data = transpose(hist_data)
Plot.plot({
marks: [
Plot.rectY(data, Plot.binX({y: "count"}, {
x: d => d.value,
thresholds: bins,
fill: "steelblue",
stroke: "black"
}))
],
style: {background: "transparent", color: "white", fontSize: 18}
})

