{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "provenance": {
    "legacyId": "horizon"
  },
  "measurement": {
    "exportText": "glyph-advances",
    "interactiveText": "shaped"
  },
  "marks": {
    "opacity": 1
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Multi-Series Trends",
      "subtitle": "Revenue, profit, expenses and growth week by week"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "output": {
    "filename": "horizon",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "operation": "folded-bands",
  "data": {
    "rows": [
      {
        "id": "horizon-0",
        "date": "2025-01-06",
        "values": {
          "Revenue": 52.5,
          "Profit": 12.4,
          "Expenses": -44.4,
          "Growth": -25.7
        }
      },
      {
        "id": "horizon-1",
        "date": "2025-01-13",
        "values": {
          "Revenue": 58.2,
          "Profit": 8.6,
          "Expenses": -59.2,
          "Growth": -35.1
        }
      },
      {
        "id": "horizon-2",
        "date": "2025-01-20",
        "values": {
          "Revenue": 54.2,
          "Profit": -3.7,
          "Expenses": -67.4,
          "Growth": -24
        }
      },
      {
        "id": "horizon-3",
        "date": "2025-01-27",
        "values": {
          "Revenue": 46,
          "Profit": -14.3,
          "Expenses": -65.4,
          "Growth": -1.8
        }
      },
      {
        "id": "horizon-4",
        "date": "2025-02-03",
        "values": {
          "Revenue": 40.5,
          "Profit": -15.9,
          "Expenses": -55.2,
          "Growth": 18.2
        }
      },
      {
        "id": "horizon-5",
        "date": "2025-02-10",
        "values": {
          "Revenue": 42.5,
          "Profit": -6.4,
          "Expenses": -42.9,
          "Growth": 24.5
        }
      },
      {
        "id": "horizon-6",
        "date": "2025-02-17",
        "values": {
          "Revenue": 52.3,
          "Profit": 9.3,
          "Expenses": -35.6,
          "Growth": 13.6
        }
      },
      {
        "id": "horizon-7",
        "date": "2025-02-24",
        "values": {
          "Revenue": 65.8,
          "Profit": 23,
          "Expenses": -37.8,
          "Growth": -8.7
        }
      },
      {
        "id": "horizon-8",
        "date": "2025-03-03",
        "values": {
          "Revenue": 76.7,
          "Profit": 26.7,
          "Expenses": -49.1,
          "Growth": -30.5
        }
      },
      {
        "id": "horizon-9",
        "date": "2025-03-10",
        "values": {
          "Revenue": 79.6,
          "Profit": 17.6,
          "Expenses": -64.3,
          "Growth": -39.6
        }
      },
      {
        "id": "horizon-10",
        "date": "2025-03-17",
        "values": {
          "Revenue": 72.9,
          "Profit": -1,
          "Expenses": -75.9,
          "Growth": -30.2
        }
      },
      {
        "id": "horizon-11",
        "date": "2025-03-24",
        "values": {
          "Revenue": 59.7,
          "Profit": -21.2,
          "Expenses": -78.3,
          "Growth": -5.8
        }
      },
      {
        "id": "horizon-12",
        "date": "2025-03-31",
        "values": {
          "Revenue": 46.1,
          "Profit": -34,
          "Expenses": -70.2,
          "Growth": 22.8
        }
      },
      {
        "id": "horizon-13",
        "date": "2025-04-07",
        "values": {
          "Revenue": 38.2,
          "Profit": -34.5,
          "Expenses": -55.5,
          "Growth": 42.6
        }
      },
      {
        "id": "horizon-14",
        "date": "2025-04-14",
        "values": {
          "Revenue": 39,
          "Profit": -23.8,
          "Expenses": -41.4,
          "Growth": 45
        }
      },
      {
        "id": "horizon-15",
        "date": "2025-04-21",
        "values": {
          "Revenue": 47,
          "Profit": -8.9,
          "Expenses": -34.4,
          "Growth": 30.5
        }
      },
      {
        "id": "horizon-16",
        "date": "2025-04-28",
        "values": {
          "Revenue": 56.8,
          "Profit": 1.4,
          "Expenses": -37.3,
          "Growth": 8
        }
      },
      {
        "id": "horizon-17",
        "date": "2025-05-05",
        "values": {
          "Revenue": 61.9,
          "Profit": 0.6,
          "Expenses": -47.7,
          "Growth": -9.4
        }
      },
      {
        "id": "horizon-18",
        "date": "2025-05-12",
        "values": {
          "Revenue": 58.2,
          "Profit": -12,
          "Expenses": -59.2,
          "Growth": -11.5
        }
      },
      {
        "id": "horizon-19",
        "date": "2025-05-19",
        "values": {
          "Revenue": 45.9,
          "Profit": -30.7,
          "Expenses": -64.6,
          "Growth": 4.2
        }
      },
      {
        "id": "horizon-20",
        "date": "2025-05-26",
        "values": {
          "Revenue": 29.7,
          "Profit": -46.9,
          "Expenses": -59.9,
          "Growth": 30.8
        }
      },
      {
        "id": "horizon-21",
        "date": "2025-06-02",
        "values": {
          "Revenue": 16.1,
          "Profit": -52.8,
          "Expenses": -45.8,
          "Growth": 55.8
        }
      },
      {
        "id": "horizon-22",
        "date": "2025-06-09",
        "values": {
          "Revenue": 10.4,
          "Profit": -45.7,
          "Expenses": -28.1,
          "Growth": 67.4
        }
      },
      {
        "id": "horizon-23",
        "date": "2025-06-16",
        "values": {
          "Revenue": 13.7,
          "Profit": -29.4,
          "Expenses": -14,
          "Growth": 60.4
        }
      },
      {
        "id": "horizon-24",
        "date": "2025-06-23",
        "values": {
          "Revenue": 22.9,
          "Profit": -12.1,
          "Expenses": -9.2,
          "Growth": 38.7
        }
      },
      {
        "id": "horizon-25",
        "date": "2025-06-30",
        "values": {
          "Revenue": 31.6,
          "Profit": -2.4,
          "Expenses": -14.3,
          "Growth": 13.9
        }
      },
      {
        "id": "horizon-26",
        "date": "2025-07-07",
        "values": {
          "Revenue": 34,
          "Profit": -4.8,
          "Expenses": -25,
          "Growth": -1.4
        }
      },
      {
        "id": "horizon-27",
        "date": "2025-07-14",
        "values": {
          "Revenue": 27.5,
          "Profit": -17.3,
          "Expenses": -34.3,
          "Growth": 0.5
        }
      },
      {
        "id": "horizon-28",
        "date": "2025-07-21",
        "values": {
          "Revenue": 14.3,
          "Profit": -32.8,
          "Expenses": -35.8,
          "Growth": 18.4
        }
      },
      {
        "id": "horizon-29",
        "date": "2025-07-28",
        "values": {
          "Revenue": 0,
          "Profit": -42.3,
          "Expenses": -27.2,
          "Growth": 42.7
        }
      },
      {
        "id": "horizon-30",
        "date": "2025-08-04",
        "values": {
          "Revenue": -9,
          "Profit": -39.9,
          "Expenses": -11.5,
          "Growth": 60.2
        }
      },
      {
        "id": "horizon-31",
        "date": "2025-08-11",
        "values": {
          "Revenue": -8.7,
          "Profit": -25.3,
          "Expenses": 4.6,
          "Growth": 61.2
        }
      },
      {
        "id": "horizon-32",
        "date": "2025-08-18",
        "values": {
          "Revenue": 0.2,
          "Profit": -4.8,
          "Expenses": 14,
          "Growth": 44.1
        }
      },
      {
        "id": "horizon-33",
        "date": "2025-08-25",
        "values": {
          "Revenue": 12.8,
          "Profit": 13,
          "Expenses": 12.9,
          "Growth": 16.5
        }
      },
      {
        "id": "horizon-34",
        "date": "2025-09-01",
        "values": {
          "Revenue": 22.7,
          "Profit": 20.4,
          "Expenses": 2.7,
          "Growth": -9
        }
      },
      {
        "id": "horizon-35",
        "date": "2025-09-08",
        "values": {
          "Revenue": 24.9,
          "Profit": 15.4,
          "Expenses": -10.8,
          "Growth": -20.7
        }
      },
      {
        "id": "horizon-36",
        "date": "2025-09-15",
        "values": {
          "Revenue": 18.6,
          "Profit": 2.2,
          "Expenses": -20.3,
          "Growth": -14.3
        }
      },
      {
        "id": "horizon-37",
        "date": "2025-09-22",
        "values": {
          "Revenue": 7.5,
          "Profit": -10.7,
          "Expenses": -20.7,
          "Growth": 5.4
        }
      },
      {
        "id": "horizon-38",
        "date": "2025-09-29",
        "values": {
          "Revenue": -2,
          "Profit": -15.1,
          "Expenses": -11.8,
          "Growth": 26.6
        }
      },
      {
        "id": "horizon-39",
        "date": "2025-10-06",
        "values": {
          "Revenue": -4.1,
          "Profit": -7.2,
          "Expenses": 1.7,
          "Growth": 36.9
        }
      },
      {
        "id": "horizon-40",
        "date": "2025-10-13",
        "values": {
          "Revenue": 3.2,
          "Profit": 10.7,
          "Expenses": 12.5,
          "Growth": 29.2
        }
      },
      {
        "id": "horizon-41",
        "date": "2025-10-20",
        "values": {
          "Revenue": 17.4,
          "Profit": 30.8,
          "Expenses": 14.6,
          "Growth": 5.9
        }
      },
      {
        "id": "horizon-42",
        "date": "2025-10-27",
        "values": {
          "Revenue": 32.7,
          "Profit": 44.3,
          "Expenses": 6.1,
          "Growth": -22.8
        }
      },
      {
        "id": "horizon-43",
        "date": "2025-11-03",
        "values": {
          "Revenue": 42.7,
          "Profit": 45.5,
          "Expenses": -9.6,
          "Growth": -43.9
        }
      },
      {
        "id": "horizon-44",
        "date": "2025-11-10",
        "values": {
          "Revenue": 43.8,
          "Profit": 34.9,
          "Expenses": -25.6,
          "Growth": -48
        }
      },
      {
        "id": "horizon-45",
        "date": "2025-11-17",
        "values": {
          "Revenue": 37.2,
          "Profit": 18.8,
          "Expenses": -35,
          "Growth": -34.4
        }
      },
      {
        "id": "horizon-46",
        "date": "2025-11-24",
        "values": {
          "Revenue": 27.8,
          "Profit": 6.1,
          "Expenses": -34.4,
          "Growth": -11.2
        }
      },
      {
        "id": "horizon-47",
        "date": "2025-12-01",
        "values": {
          "Revenue": 22.2,
          "Profit": 3.9,
          "Expenses": -25.6,
          "Growth": 8.6
        }
      },
      {
        "id": "horizon-48",
        "date": "2025-12-08",
        "values": {
          "Revenue": 24.9,
          "Profit": 13.7,
          "Expenses": -14.7,
          "Growth": 14.2
        }
      },
      {
        "id": "horizon-49",
        "date": "2025-12-15",
        "values": {
          "Revenue": 36.1,
          "Profit": 30.5,
          "Expenses": -8.8,
          "Growth": 1.9
        }
      },
      {
        "id": "horizon-50",
        "date": "2025-12-22",
        "values": {
          "Revenue": 51.9,
          "Profit": 45.8,
          "Expenses": -12.7,
          "Growth": -22.4
        }
      },
      {
        "id": "horizon-51",
        "date": "2025-12-29",
        "values": {
          "Revenue": 65.7,
          "Profit": 51.5,
          "Expenses": -26.1,
          "Growth": -46.8
        }
      }
    ]
  },
  "encoding": {
    "date": "date",
    "values": "values",
    "series": [
      {
        "id": "Revenue",
        "label": "Revenue"
      },
      {
        "id": "Profit",
        "label": "Profit"
      },
      {
        "id": "Expenses",
        "label": "Expenses"
      },
      {
        "id": "Growth",
        "label": "Growth"
      }
    ],
    "unit": "unidades de la demo (sin unidad física declarada)"
  },
  "calculation": {
    "time": "civil-date-UTC",
    "order": "coordinate-asc",
    "duplicates": "reject",
    "missing": "reject",
    "bands": 3,
    "amplitude": "global-maximum-absolute",
    "negative": "mirror"
  },
  "profile": {
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 48
    },
    "axis": {
      "stroke": "transparent",
      "tickStroke": "transparent",
      "tickLength": 0,
      "labelColor": "#2a2a2a",
      "tickLabelColor": "#3d3d3d",
      "labelFontSize": 14,
      "tickLabelFontSize": 13,
      "labelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "tickLabelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "baselineStroke": "#3d3d3d",
      "baselineWidth": 1.5,
      "titleColor": "#2a2a2a",
      "titleFontSize": 13,
      "titleFontWeight": 700
    },
    "grid": {
      "stroke": "#d6cfbc",
      "strokeOpacity": 1,
      "strokeDasharray": ""
    },
    "positiveBands": [
      "rgba(17, 44, 71, 0.2)",
      "rgba(17, 44, 71, 0.5)",
      "rgba(17, 44, 71, 0.9)"
    ],
    "negativeBands": [
      "rgba(156, 31, 26, 0.2)",
      "rgba(156, 31, 26, 0.5)",
      "rgba(156, 31, 26, 0.9)"
    ],
    "rowGap": 4,
    "labelColor": "#0d0d0d",
    "labelFontSize": 11,
    "labelFontFamily": "'Inter', system-ui, -apple-system, sans-serif"
  }
}
