plot2 = Plot.plot({
grid: true,
marks: [
Plot.dot(penguins, {x: "culmen_depth_mm", y: "culmen_length_mm"}),
Plot.line(build_samples((x) => ff2(x), -10, 20, {N: 100}), {stroke: 'tomato'}),
curvedText("Some long text I need along this path.", {
path: build_samples((x) => ff2(x), -10, 20, {N: 100}),
fontSize: 16
}
)
]
})