Data Grouper
Input Data (JSON Array)
Grouping Rules
Example Input
[
{
"category": "Electronics",
"brand": "Apple",
"product": "iPhone",
"price": 999.99,
"inStock": true,
"sales": 150
},
{
"category": "Electronics",
"brand": "Samsung",
"product": "Galaxy",
"price": 899.99,
"inStock": true,
"sales": 120
},
{
"category": "Books",
"brand": "O'Reilly",
"product": "JavaScript Guide",
"price": 49.99,
"inStock": false,
"sales": 75
}
]Example Grouping:
- Group by category, then by brand
- Include count at each level
- Add summary statistics for price and sales