d3.groupSort | D3 | Observable
ojs
ojs
ojs
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (2)
Fil
Jan 25, 2021
Reversing the resulting array seems more generic (works with non-numeric aggregates).
Mike Bostock
Mar 19, 2021
Yes, but it’s longer. 🙂
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
D3
Mike Bostock
20
Reply
Add comment
Subscribe to notifications
14
d3.groupSort | D3 | Observable