Plot.plot({
marginLeft: 30,
marks: [
Plot.dot(crabsJS, {x: "lat", y: "sizeMm", tip: true, fill: "steelblue"}),
Plot.linearRegressionY(crabsJS, {x: "lat", y: "sizeMm", stroke: "orange"}),
Plot.frame()
],
x : {label: "Latitude", labelOffset : 25},
y : {label: "Size (mm)"}
})