Plot.plot({
height: 100,
inset: 10,
marks: [
Plot.density(faithful, {x: "waiting", stroke: "steelblue", strokeWidth: 0.25, bandwidth: 10}),
Plot.density(faithful, {x: "waiting", stroke: "steelblue", thresholds: 4, bandwidth: 10}),
Plot.dot(faithful, {x: "waiting", fill: "currentColor", r: 1.5})
]
})