Plot.plot({
width: 640,
height: 300,
x: { domain: [0, 640], grid: true, tickSpacing: 50 },
y: { domain: [0, 300], grid: true, tickSpacing: 50 },
marks: [
curvedText("This is some text that should curve along a path", {
cPath: curves[opt.cType],
showPath: opt.showPath,
anchor: opt.anchor,
fontSize: opt.fontSize,
letterSpacing: opt.letterSpacing,
wordSpacing: opt.wordSpacing
})
]
})