Share Brilliantly
market segmentation
let groups = $group(data, p=>p.state);
let groups = $group(data, p=>[p.state,p.age])();