{
  "version": "xarts.value-matrix/1",
  "family": "value-matrix",
  "operation": "ordinal-risk-grid",
  "provenance": {
    "legacyId": "riskmatrix"
  },
  "data": {
    "rows": [
      {
        "id": "risk-0",
        "label": "Data Breach",
        "likelihood": 4,
        "impact": 5
      },
      {
        "id": "risk-1",
        "label": "Supply Chain",
        "likelihood": 3,
        "impact": 4
      },
      {
        "id": "risk-2",
        "label": "Regulatory Fine",
        "likelihood": 2,
        "impact": 4
      },
      {
        "id": "risk-3",
        "label": "Staff Turnover",
        "likelihood": 3,
        "impact": 2
      },
      {
        "id": "risk-4",
        "label": "System Outage",
        "likelihood": 3,
        "impact": 5
      },
      {
        "id": "risk-5",
        "label": "Market Shift",
        "likelihood": 2,
        "impact": 3
      },
      {
        "id": "risk-6",
        "label": "IP Theft",
        "likelihood": 1,
        "impact": 5
      },
      {
        "id": "risk-7",
        "label": "PR Crisis",
        "likelihood": 2,
        "impact": 3
      },
      {
        "id": "risk-8",
        "label": "Natural Disaster",
        "likelihood": 1,
        "impact": 4
      },
      {
        "id": "risk-9",
        "label": "Budget Overrun",
        "likelihood": 4,
        "impact": 2
      }
    ]
  },
  "encoding": {
    "likelihood": "likelihood",
    "impact": "impact",
    "label": "label",
    "likelihoodAxis": {
      "title": "Likelihood",
      "levels": [
        "Rare",
        "Unlikely",
        "Possible",
        "Likely",
        "Almost Certain"
      ]
    },
    "impactAxis": {
      "title": "Impact",
      "levels": [
        "Negligible",
        "Minor",
        "Moderate",
        "Major",
        "Catastrophic"
      ]
    }
  },
  "calculation": {
    "score": "ordinal-product",
    "duplicates": "retain-risks",
    "thresholds": [
      {
        "max": 5,
        "label": "Low",
        "color": "#1f5a3d"
      },
      {
        "max": 10,
        "label": "Moderate-low",
        "color": "#3a6b4d"
      },
      {
        "max": 15,
        "label": "Moderate",
        "color": "#ac7a2a"
      },
      {
        "max": 20,
        "label": "High",
        "color": "#a25c2a"
      },
      {
        "max": 25,
        "label": "Critical",
        "color": "#9c1f1a"
      }
    ]
  },
  "layout": {
    "bandPadding": 0.05,
    "impactDirection": "ascending-up"
  },
  "profile": {
    "margin": {
      "top": 14,
      "right": 20,
      "bottom": 52,
      "left": 96
    },
    "cellRadius": 2,
    "cellPadding": 2,
    "dot": {
      "radius": 5,
      "fill": "#ffffff",
      "stroke": "#0d0d0d",
      "strokeWidth": 1.5
    },
    "riskLabel": {
      "fontSize": 10,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "fill": "#0d0d0d",
      "fontWeight": 600
    },
    "axisLabel": {
      "fill": "#2a2a2a",
      "fontSize": 11,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "fontWeight": 500
    },
    "axisTitle": {
      "fill": "#2a2a2a",
      "fontSize": 12,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "fontWeight": 600
    }
  },
  "measurement": {
    "exportText": "font-pairs",
    "interactiveText": "shaped"
  },
  "marks": {
    "opacity": 1
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Risk Assessment",
      "subtitle": "Ten risks by likelihood and impact, colored by severity: data breach scores highest"
    },
    "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": "riskmatrix",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
