Plot.plot({
height: 200,
marginLeft: 0,
marginTop: 15,
y: { axis: false },
x: {
tickFormat: d3.format('$,.0f'),
label: 'Pay →',
tickSize: 0,
},
marks: [
Plot.rectY(PAY_DATA, Plot.binX(
{ y: 'count', title: d => d },
{
x: { value: d => d, interval: 25 },
z: (_, i) => i,
inset: 0.5,
tip: true,
},
)),
],
})