Normalized stacked area chart | Benbinbin | Observable
ojs
ojs
ojs
ojs
Author
Benbinbin
@benbinbin
Creator
Comments (1)
Benbinbin
Apr 15, 2024
📢 由于 标准化的堆叠式面积图 与 普通的堆叠式面积图 相比,在代码上大部分都是相同的,相当于只是将基线函数更改为 d3.stackOffsetExpand 所以这个 Notebook 只针对其中 💡 变化的部分进行标注,可以结合 普通的堆叠式面积图 Notebook
https://observablehq.com/@benbinbin/stacked-area-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
Normalized stacked area chart | Benbinbin | Observable