Plot.plot({
width: width,
height: 100,
x: { label: null, ticks: false, domain: [0, Math.max(10, something.length)] },
y: { label: null, ticks: false, domain: [-1.5, 1.5] },
marks: [
Plot.text(
something.split("").map((c, i) => ({ i: i, c: c })),
{
x: "i",
y: (d) => Math.sin(d.i + time / 2),
text: "c",
fill: (d) => d.i,
fontSize: 70
}
)
]
})