This message was deleted.
# help
s
This message was deleted.
m
One quick idea: Plot returns normal HTML elements. You could use an HTML cell and do something like
Copy code
<div style="max-height: 300px; overflow: scroll">${Plot.plot(...)}</div>
❤️ 1
🙌 1
m
Yes,
overflow: scroll
should work, though I’d prefer
overflow: auto
to avoid a vertical scrollbar. You’ll also need to force the width of the Plot itself to be super wide, perhaps by placing inside another DIV. Here’s an example: https://observablehq.com/d/eee96bf4dd9ffa95
❤️ 1
I did something along these lines a while back to build a scrollable timeline in pure HTML: https://observablehq.com/d/e55d55d46672f60d
❤️ 1
g
Thank you so much Michael and Dr. McClure!