Overview
One way to analyze customer data is to group the customer data into a set of distinct groups, and then to analyze the characteristics of each group.
Data Grouping
let groups = $group(data, p=>p.state);
Try it!
let groups = $group(data, p=>[p.state,p.age])();
Try it!