Plot: Diverging stacked bars | Observable | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Observable
@observablehq
The computational, collaborative, agentic document where everyone answers questions with data
Comments (1)
Mike Bostock
Apr 12, 2022
I might skip this step. It’s a fair amount of work to do this (unlike the previous approaches), and it has the downsides you mention compared to the recommended approach using a custom offset function below.
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
64
Follow
Follow
Plot: Diverging stacked bars | Observable | Observable