Data Aggregator
Input Data (JSON Array)
Aggregation Rules
Example Input
[
{
"category": "Electronics",
"product": "Laptop",
"price": 1200,
"quantity": 5
},
{
"category": "Electronics",
"product": "Phone",
"price": 800,
"quantity": 10
},
{
"category": "Books",
"product": "JavaScript Guide",
"price": 40,
"quantity": 20
}
]Example Operations:
- Count total products by category
- Calculate average price per category
- Find minimum and maximum prices
- Get unique product names
- Calculate total inventory value (price × quantity)