You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const series = d3.stack()
.keys(d3.union(this.data.map(d => d.age))) // distinct series keys, in input order
.value(([,D], key, ) => D.get(key).population) // get value for each series key and stack
(d3.index(this.data, d => d.state, d => d.age)); // group by stack then series key
I don't understand what does mean the value() function?
Please help.
The text was updated successfully, but these errors were encountered:
d3
locked and limited conversation to collaborators
Feb 5, 2024
const series = d3.stack()
.keys(d3.union(this.data.map(d => d.age))) // distinct series keys, in input order
.value(([,D], key, ) => D.get(key).population) // get value for each series key and stack
(d3.index(this.data, d => d.state, d => d.age)); // group by stack then series key
I don't understand what does mean the value() function?
Please help.
The text was updated successfully, but these errors were encountered: