{
  "version": "xarts.coordinate-marks/1",
  "family": "coordinate-marks",
  "operation": "provided-observations",
  "provenance": {
    "legacyId": "competitivepos"
  },
  "data": {
    "rows": [
      {
        "id": "1",
        "label": "Our Company",
        "x": 7,
        "y": 8.5,
        "size": 18,
        "group": "own"
      },
      {
        "id": "2",
        "label": "MegaCorp",
        "x": 9,
        "y": 9,
        "size": 25,
        "group": "observations"
      },
      {
        "id": "3",
        "label": "ValueMax",
        "x": 3,
        "y": 5,
        "size": 12,
        "group": "observations"
      },
      {
        "id": "4",
        "label": "TechPro",
        "x": 8,
        "y": 7,
        "size": 15,
        "group": "observations"
      },
      {
        "id": "5",
        "label": "BudgetKing",
        "x": 2,
        "y": 3,
        "size": 8,
        "group": "observations"
      },
      {
        "id": "6",
        "label": "Prestige+",
        "x": 9.5,
        "y": 9.5,
        "size": 6,
        "group": "observations"
      },
      {
        "id": "7",
        "label": "EconoLine",
        "x": 3.5,
        "y": 6,
        "size": 10,
        "group": "observations"
      },
      {
        "id": "8",
        "label": "NicheWorks",
        "x": 6,
        "y": 9,
        "size": 4,
        "group": "observations"
      },
      {
        "id": "9",
        "label": "GlobeTrade",
        "x": 5,
        "y": 4.5,
        "size": 7,
        "group": "observations"
      },
      {
        "id": "10",
        "label": "StartupX",
        "x": 4.5,
        "y": 7.5,
        "size": 3,
        "group": "observations"
      }
    ]
  },
  "encoding": {
    "id": "id",
    "label": "label",
    "x": "x",
    "y": "y",
    "size": "size",
    "group": "group",
    "units": {
      "x": {
        "label": "Price",
        "unit": "score"
      },
      "y": {
        "label": "Quality",
        "unit": "score"
      },
      "size": {
        "label": "Market share",
        "unit": "percentage-points"
      }
    },
    "groups": [
      {
        "id": "observations",
        "label": "observations",
        "fill": "blue",
        "stroke": "blue",
        "strokeWidth": 2,
        "labelWeight": 600
      },
      {
        "id": "own",
        "label": "own",
        "fill": "red",
        "stroke": "red",
        "strokeWidth": 3,
        "labelWeight": 700
      }
    ]
  },
  "calculation": {
    "xDomain": {
      "source": "extent",
      "padding": [
        0,
        1
      ],
      "includeZero": true
    },
    "yDomain": {
      "source": "extent",
      "padding": [
        0,
        1
      ],
      "includeZero": true
    },
    "niceX": true,
    "niceY": true,
    "size": {
      "mapping": "sqrt-interpolated",
      "domain": {
        "source": "extent",
        "padding": [
          0,
          0
        ],
        "includeZero": false
      },
      "radiusRange": [
        10,
        38
      ]
    },
    "quadrants": {
      "x": 5.5,
      "y": 5.5,
      "boundary": "upper-inclusive",
      "colorByQuadrant": false,
      "cells": [
        {
          "id": "upper-right",
          "label": "Premium",
          "color": "emerald"
        },
        {
          "id": "lower-right",
          "label": "Niche",
          "color": "amber"
        },
        {
          "id": "lower-left",
          "label": "Budget",
          "color": "red"
        },
        {
          "id": "upper-left",
          "label": "Value",
          "color": "teal"
        }
      ]
    }
  },
  "profile": {
    "placement": {
      "mode": "measured",
      "maxWidth": 180,
      "maxLines": 4,
      "lineHeight": 1.35,
      "gap": 10,
      "edge": 10,
      "gridStep": 14,
      "guideWidth": 0.75,
      "guideColor": "textMuted"
    },
    "margin": {
      "top": 40,
      "right": 56,
      "bottom": 96,
      "left": 96
    },
    "measureY": false,
    "axis": {
      "smart": true,
      "axisLines": false,
      "tickMarks": false,
      "baseline": true,
      "grid": true,
      "columns": true,
      "ticksX": 5,
      "ticksY": 5,
      "format": "number",
      "titleX": ""
    },
    "marks": {
      "fillOpacity": 0.18,
      "strokeOpacity": 1
    },
    "labels": {
      "fill": "textPrimary",
      "fontSize": 12,
      "fontWeight": 600,
      "position": "above-radius",
      "dx": 0,
      "dy": -6,
      "visible": true
    },
    "quadrants": {
      "visible": true,
      "labels": {
        "fill": "textMuted",
        "fontSize": 13,
        "fontWeight": 700
      },
      "opacity": 1,
      "opacityStyle": true,
      "backgroundOpacity": 0,
      "placement": "fractions",
      "fractions": [
        [
          0.82,
          0.18
        ],
        [
          0.82,
          0.82
        ],
        [
          0.18,
          0.82
        ],
        [
          0.18,
          0.18
        ]
      ],
      "dominantMiddle": false
    },
    "crosshair": {
      "visible": true,
      "stroke": "textMuted",
      "width": 1,
      "dash": "4 3",
      "opacity": 0.3,
      "opacityStyle": true
    },
    "endpoints": {
      "labels": {
        "fill": "textSecondary",
        "fontSize": 12,
        "fontWeight": 600
      },
      "padding": 6,
      "xLow": "Economy",
      "xHigh": "Premium",
      "yLow": "Traditional",
      "yHigh": "Innovative",
      "visible": false
    }
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Market Positioning",
      "subtitle": "Our company against nine competitors on the two buying dimensions"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 32,
      "topPadding": 24,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 1200,
      "height": 760
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "competitivepos",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
