jed_fox1’s avatarjed_fox1’s Twitter Archive — № 1,032

  1. …in reply to @nikitonsky
    @nikitonsky Using JS + D3: d3.groups(people, (d) => d.age).map( ([age, people]) => [ age, d3.mean(people, (d) => d.rate), ] )