Plot.plot({
marginBottom: 80,
x: {label: null, tickRotate: 90},
y: {label: null},
color: {label: "Median weight (kg)", legend: true, scheme: "YlGnBu"},
marks: [
Plot.cell(olympians, Plot.group({fill: "median"}, {fill: "weight", x: "sport", y: "sex"}))
]
})