{
  "version": "xarts.coordinate-marks/1",
  "family": "coordinate-marks",
  "operation": "provided-observations",
  "provenance": {
    "legacyId": "perceptualmap"
  },
  "data": {
    "rows": [
      {
        "id": "1",
        "label": "Tesla",
        "x": 3.5,
        "y": 4.2,
        "size": null,
        "group": "observations"
      },
      {
        "id": "2",
        "label": "BMW",
        "x": 3.8,
        "y": 1.5,
        "size": null,
        "group": "observations"
      },
      {
        "id": "3",
        "label": "Toyota",
        "x": -1.2,
        "y": -0.8,
        "size": null,
        "group": "observations"
      },
      {
        "id": "4",
        "label": "Honda",
        "x": -2,
        "y": 0.5,
        "size": null,
        "group": "observations"
      },
      {
        "id": "5",
        "label": "Mercedes",
        "x": 4,
        "y": 0.2,
        "size": null,
        "group": "observations"
      },
      {
        "id": "6",
        "label": "Hyundai",
        "x": -2.5,
        "y": 1.8,
        "size": null,
        "group": "observations"
      },
      {
        "id": "7",
        "label": "Volvo",
        "x": 2,
        "y": 2.5,
        "size": null,
        "group": "observations"
      },
      {
        "id": "8",
        "label": "Ford",
        "x": -1.5,
        "y": -2,
        "size": null,
        "group": "observations"
      },
      {
        "id": "9",
        "label": "Audi",
        "x": 3.2,
        "y": 1,
        "size": null,
        "group": "observations"
      },
      {
        "id": "10",
        "label": "Kia",
        "x": -3,
        "y": 2.2,
        "size": null,
        "group": "observations"
      }
    ]
  },
  "encoding": {
    "id": "id",
    "label": "label",
    "x": "x",
    "y": "y",
    "size": "size",
    "group": "group",
    "units": {
      "x": {
        "label": "Economy / Premium",
        "unit": "score"
      },
      "y": {
        "label": "Traditional / Innovative",
        "unit": "score"
      },
      "size": null
    },
    "groups": [
      {
        "id": "observations",
        "label": "observations",
        "fill": "blue",
        "stroke": "surface",
        "strokeWidth": 2,
        "labelWeight": 500
      }
    ]
  },
  "calculation": {
    "xDomain": {
      "source": "provided",
      "values": [
        -5,
        5
      ]
    },
    "yDomain": {
      "source": "provided",
      "values": [
        -5,
        5
      ]
    },
    "niceX": false,
    "niceY": false,
    "size": {
      "mapping": "constant",
      "radius": 8
    },
    "quadrants": {
      "x": 0,
      "y": 0,
      "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": false,
      "axisLines": false,
      "tickMarks": false,
      "baseline": false,
      "grid": false,
      "columns": false,
      "ticksX": null,
      "ticksY": 5,
      "format": "number",
      "titleX": ""
    },
    "marks": {
      "fillOpacity": 1,
      "strokeOpacity": 1
    },
    "labels": {
      "fill": "textPrimary",
      "fontSize": 12,
      "fontWeight": 500,
      "position": "offset",
      "dx": 12,
      "dy": 4,
      "visible": true
    },
    "quadrants": {
      "visible": false,
      "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": 1,
      "opacityStyle": false
    },
    "endpoints": {
      "labels": {
        "fill": "textSecondary",
        "fontSize": 12,
        "fontWeight": 600
      },
      "padding": 6,
      "xLow": "Economy",
      "xHigh": "Premium",
      "yLow": "Traditional",
      "yHigh": "Innovative",
      "visible": true
    }
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Market Positioning",
      "subtitle": "Car brands positioned on two strategic 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": "perceptualmap",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
