Plot.plot({
marks: [
Plot.dot(salamanders, {
x: "totalLength",
y: "weight",
fill: "creekSection",
opacity: 0.45
})
],
y: { type: "pow", exponent: 0.5 },
x: { reverse: true, domain: [0, 400], ticks: 5 },
color: { range: ["pink", "teal"], legend: true },
grid: true
})