Spike Chart | Ben Welsh | Observable
ojs
ojs
ojs
ojs
Author
Ben Welsh
@palewire
News Applications Editor, Reuters
Comments (2)
Mike Bostock
Oct 19, 2021
This looks great, Ben! To respect the vertical margins, I think maybe you want to tweak this to drawSpike(yScale(0) - yScale(Y[i])?
Ben Welsh
Oct 19, 2021
Done!
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
1
Follow
Follow
Spike Chart | Ben Welsh | Observable