b = Plot.plot({
height: 130,
x: { ...a.scale("x"), axis: null },
y: { reverse: true },
marks: [
Plot.rectY(
penguins,
Plot.binX(
{ y: "count" },
{
x: "body_mass_g",
fill: "lightgrey",
thresholds: 50
}
)
),
Plot.ruleY([0]),
Plot.axisY({ labelAnchor: "bottom" })
]
})