{
  "version": "xarts.metric-panels/1",
  "family": "metric-panels",
  "provenance": {
    "legacyId": "scenariocompare"
  },
  "data": {
    "rows": [
      {
        "Metric": "Revenue",
        "Bear": 82,
        "Base": 120,
        "Bull": 165
      },
      {
        "Metric": "EBITDA",
        "Bear": 14,
        "Base": 32,
        "Bull": 52
      },
      {
        "Metric": "Free Cash Flow",
        "Bear": 6,
        "Base": 22,
        "Bull": 40
      },
      {
        "Metric": "EPS",
        "Bear": 1.2,
        "Base": 3.5,
        "Bull": 5.8
      }
    ]
  },
  "encoding": {
    "metric": "Metric",
    "unit": {
      "source": "lookup",
      "values": {
        "Revenue": "$M",
        "EBITDA": "$M",
        "Free Cash Flow": "$M",
        "EPS": "$"
      }
    },
    "series": [
      {
        "id": "Bear",
        "field": "Bear",
        "label": "Bear",
        "geometry": "bar",
        "probability": 0.25
      },
      {
        "id": "Base",
        "field": "Base",
        "label": "Base",
        "geometry": "bar",
        "probability": 0.5
      },
      {
        "id": "Bull",
        "field": "Bull",
        "label": "Bull",
        "geometry": "bar",
        "probability": 0.25
      }
    ],
    "ranges": []
  },
  "calculation": {
    "duplicates": "reject",
    "missing": "reject",
    "order": "input",
    "comparison": {
      "mode": "none"
    }
  },
  "layout": {
    "view": "categorical-comparison",
    "orientation": "vertical",
    "columns": 1,
    "placement": "grouped",
    "scales": "shared-numeric",
    "includeZero": true,
    "padding": 0.15
  },
  "categoricalComparison": {
    "leftLabelOverflow": 2,
    "margin": {
      "top": 28,
      "right": 20,
      "bottom": 44,
      "left": 48
    },
    "axisInkPadding": 0,
    "legendPosition": "right",
    "legendProbabilities": true,
    "colors": {
      "Bear": "red",
      "Base": "blue",
      "Bull": "emerald"
    },
    "categoryPadding": 0.25,
    "seriesPadding": 0.1,
    "radius": 0,
    "opacity": 0.9,
    "valueLabels": {
      "fill": "textSecondary",
      "fontSize": 10,
      "fontWeight": 600,
      "offset": 4
    },
    "axisFormat": {
      "prefix": "$",
      "suffix": "M",
      "decimals": 1,
      "trim": true
    },
    "unitFormats": {
      "$M": {
        "prefix": "$",
        "suffix": "M",
        "decimals": 1,
        "trim": true
      },
      "$": {
        "prefix": "$",
        "suffix": "",
        "decimals": 1,
        "trim": false
      }
    },
    "scaleMeaning": "shared-numeric-values"
  },
  "marks": {
    "opacity": 1,
    "rangeOpacity": 0.16,
    "barFraction": 0.65,
    "pointRadius": 7
  },
  "labels": {
    "visible": true,
    "fontSize": 15,
    "decimals": 2
  },
  "axes": {
    "grid": true,
    "ticks": 5
  },
  "legend": {
    "visible": true
  },
  "summary": {
    "visible": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Scenario Analysis",
      "subtitle": "Financial projections across base, bull and bear cases"
    },
    "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": "scenariocompare",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
