Stacked Bar Chart, Horizontal | Benbinbin | Observable
ojs
ojs
ojs
ojs
Author
Benbinbin
@benbinbin
Creator
Comments (1)
Benbinbin
Jul 5, 2023
📢 由于 水平堆叠条形图 与 垂直堆叠条形图 相比,在代码上大部分都是相同的,相当于只是将横坐标轴和纵坐标轴相互调换 所以这个 Notebook 只针对其中 💡 变化的部分进行标注,可以结合 垂直堆叠条形图 Notebook
https://observablehq.com/@benbinbin/stacked-bar-chart
对照着看,就可以得出逐行代码注释
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
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Benbinbin
0
Reply
Add comment
Subscribe to notifications
0
Stacked Bar Chart, Horizontal | Benbinbin | Observable