
@.{value: data.rows[0][1], change: data.rows[0][3], unit: 'Sales'}@.{ ... } → Builds a custom object for display.value: data.rows[0][1] → Points to column 1 (total_sales). Example: 10894.53.change: data.rows[0][3] → Points to column 3 (total_shipping). Example: 1615.45.unit: 'Sales' → Static label for the metric.{
value: 10894.53, // total_sales
change: 1615.45, // total_shipping
unit: "Sales"
}@.{value: data.rows[0][1], change: data.rows[0][3], unit: 'Users'} tells the template: Sales.”



value is fetched from data.rows[0][1], change is set to 100 and average is set to 40.






