D3 Rollup | Mila Frerichs | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Mila Frerichs
@milafrerichs
Comments (1)
Fil
Aug 25, 2020
Alternatively, d3Array.rollups(data, v => v.length, d =>
d.name
) will return arrays (nested arrays if you have several keys).
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
2
Follow
Follow
D3 Rollup | Mila Frerichs | Observable