{
  "version": "xarts.cyclic-data/1",
  "family": "cyclic-data",
  "provenance": {
    "legacyId": "cycleplot"
  },
  "data": {
    "rows": [
      {
        "Month": "Jan",
        "Year": 2022,
        "Value": 120
      },
      {
        "Month": "Feb",
        "Year": 2022,
        "Value": 115
      },
      {
        "Month": "Mar",
        "Year": 2022,
        "Value": 135
      },
      {
        "Month": "Apr",
        "Year": 2022,
        "Value": 150
      },
      {
        "Month": "May",
        "Year": 2022,
        "Value": 165
      },
      {
        "Month": "Jun",
        "Year": 2022,
        "Value": 180
      },
      {
        "Month": "Jul",
        "Year": 2022,
        "Value": 190
      },
      {
        "Month": "Aug",
        "Year": 2022,
        "Value": 185
      },
      {
        "Month": "Sep",
        "Year": 2022,
        "Value": 160
      },
      {
        "Month": "Oct",
        "Year": 2022,
        "Value": 145
      },
      {
        "Month": "Nov",
        "Year": 2022,
        "Value": 130
      },
      {
        "Month": "Dec",
        "Year": 2022,
        "Value": 140
      },
      {
        "Month": "Jan",
        "Year": 2023,
        "Value": 130
      },
      {
        "Month": "Feb",
        "Year": 2023,
        "Value": 125
      },
      {
        "Month": "Mar",
        "Year": 2023,
        "Value": 148
      },
      {
        "Month": "Apr",
        "Year": 2023,
        "Value": 162
      },
      {
        "Month": "May",
        "Year": 2023,
        "Value": 178
      },
      {
        "Month": "Jun",
        "Year": 2023,
        "Value": 195
      },
      {
        "Month": "Jul",
        "Year": 2023,
        "Value": 205
      },
      {
        "Month": "Aug",
        "Year": 2023,
        "Value": 198
      },
      {
        "Month": "Sep",
        "Year": 2023,
        "Value": 172
      },
      {
        "Month": "Oct",
        "Year": 2023,
        "Value": 155
      },
      {
        "Month": "Nov",
        "Year": 2023,
        "Value": 142
      },
      {
        "Month": "Dec",
        "Year": 2023,
        "Value": 155
      },
      {
        "Month": "Jan",
        "Year": 2024,
        "Value": 142
      },
      {
        "Month": "Feb",
        "Year": 2024,
        "Value": 138
      },
      {
        "Month": "Mar",
        "Year": 2024,
        "Value": 160
      },
      {
        "Month": "Apr",
        "Year": 2024,
        "Value": 175
      },
      {
        "Month": "May",
        "Year": 2024,
        "Value": 192
      },
      {
        "Month": "Jun",
        "Year": 2024,
        "Value": 210
      },
      {
        "Month": "Jul",
        "Year": 2024,
        "Value": 220
      },
      {
        "Month": "Aug",
        "Year": 2024,
        "Value": 212
      },
      {
        "Month": "Sep",
        "Year": 2024,
        "Value": 185
      },
      {
        "Month": "Oct",
        "Year": 2024,
        "Value": 168
      },
      {
        "Month": "Nov",
        "Year": 2024,
        "Value": 152
      },
      {
        "Month": "Dec",
        "Year": 2024,
        "Value": 165
      }
    ]
  },
  "phases": [
    "Jan",
    "Feb",
    "Mar",
    "Apr",
    "May",
    "Jun",
    "Jul",
    "Aug",
    "Sep",
    "Oct",
    "Nov",
    "Dec"
  ],
  "annotations": [],
  "document": {
    "header": {
      "title": "Seasonal Patterns",
      "subtitle": "Monthly patterns across years with averages"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "output": {
    "filename": "cycleplot-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "cycles": [
    "2022",
    "2023",
    "2024"
  ],
  "encoding": {
    "phase": "Month",
    "cycle": "Year",
    "cycleFormat": "integer-label",
    "value": "Value"
  },
  "operation": "subseries",
  "calculation": {
    "order": "cycle-then-phase",
    "missing": "reject-complete-grid",
    "duplicates": "reject",
    "valueDomain": {
      "constantPadding": 1,
      "paddingFraction": 0.15,
      "round": "outward-integers",
      "nice": true,
      "basis": "all-observations"
    },
    "mean": {
      "method": "arithmetic",
      "basis": "visible-cycles",
      "empty": "no-mean"
    },
    "averageBarBase": "domain-minimum"
  },
  "units": {
    "valueLabel": "Value",
    "valueSuffix": ""
  },
  "layout": {
    "view": "cycleplot",
    "phaseLabels": "calendar-month-short",
    "bandPadding": 0.15,
    "legendPosition": "right",
    "pointRadius": 3
  },
  "marks": {
    "means": true,
    "lines": true,
    "points": true,
    "legend": true
  },
  "profile": {
    "clip": false,
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 56
    },
    "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": ""
    },
    "yearColors": [
      "#112c47",
      "#1f6f82",
      "#ac7a2a"
    ],
    "yearLineWidth": 2,
    "averageBarFill": "#4b8596",
    "averageBarOpacity": 0.18
  }
}
