Plot.plot({
x: {
grid: true,
inset: 6
},
marks: [
Plot.ruleY(morley, Plot.groupY({x1: iqr1, x2: iqr2}, {x: "Speed", y: "Expt"})),
Plot.barX(morley, Plot.groupY({x1: quartile1, x2: quartile3}, {x: "Speed", y: "Expt", fill: "#ccc"})),
Plot.tickX(morley, Plot.groupY({x: "median"}, {x: "Speed", y: "Expt", strokeWidth: 2})),
]
})