Link Mark / Observable Plot | Observable | Observable
ojs
ojs
ojs
ojs
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (3)
Andres Snitcofsky
Jun 5, 2021
any clue on how to make a divergent gradient color that moves away from the inclined line?
Fil
Jun 6, 2021
I don't think SVG supports conic-gradient yet, which would be necessary in that case. So we're left with a bit of tinkering
https://observablehq.com/@fil/conical-gradient-plot
Andres Snitcofsky
Jun 6, 2021
That is amazing, thanks for the elaborated response! What about non conical, but just "rotated" divergent common gradient?
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
9
Follow
Follow
Link Mark / Observable Plot | Observable | Observable