Plot.plot({
facet: {marginRight: 80},
grid: true,
marks: [
Plot.frame(),
Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", fx: "sex", fy: "species"}),
Plot.axisX({color: "red", anchor, facetAnchor: facetAnchor === "auto" ? undefined : facetAnchor}),
Plot.axisFx({color: "green", anchor: anchor === "top" ? "bottom" : "top"})
]
})