{
  "version": "xarts.multivariate-records/1",
  "family": "multivariate-records",
  "operation": "pairwise-projections",
  "provenance": {
    "legacyId": "scattermatrix"
  },
  "data": {
    "rows": [
      {
        "id": "0",
        "label": "Car 1",
        "values": {
          "mpg": 18,
          "horsepower": 130,
          "weight": 3504,
          "acceleration": 12
        }
      },
      {
        "id": "1",
        "label": "Car 2",
        "values": {
          "mpg": 15,
          "horsepower": 165,
          "weight": 3693,
          "acceleration": 11.5
        }
      },
      {
        "id": "2",
        "label": "Car 3",
        "values": {
          "mpg": 14,
          "horsepower": 150,
          "weight": 3436,
          "acceleration": 11
        }
      },
      {
        "id": "3",
        "label": "Car 4",
        "values": {
          "mpg": 17,
          "horsepower": 140,
          "weight": 3449,
          "acceleration": 10.5
        }
      },
      {
        "id": "4",
        "label": "Car 5",
        "values": {
          "mpg": 15,
          "horsepower": 198,
          "weight": 4341,
          "acceleration": 10
        }
      },
      {
        "id": "5",
        "label": "Car 6",
        "values": {
          "mpg": 10,
          "horsepower": 220,
          "weight": 4354,
          "acceleration": 9
        }
      },
      {
        "id": "6",
        "label": "Car 7",
        "values": {
          "mpg": 22,
          "horsepower": 100,
          "weight": 2587,
          "acceleration": 16
        }
      },
      {
        "id": "7",
        "label": "Car 8",
        "values": {
          "mpg": 21,
          "horsepower": 95,
          "weight": 2228,
          "acceleration": 15.5
        }
      },
      {
        "id": "8",
        "label": "Car 9",
        "values": {
          "mpg": 26,
          "horsepower": 97,
          "weight": 2300,
          "acceleration": 17
        }
      },
      {
        "id": "9",
        "label": "Car 10",
        "values": {
          "mpg": 25,
          "horsepower": 88,
          "weight": 2130,
          "acceleration": 14.5
        }
      },
      {
        "id": "10",
        "label": "Car 11",
        "values": {
          "mpg": 24,
          "horsepower": 110,
          "weight": 2672,
          "acceleration": 13.5
        }
      },
      {
        "id": "11",
        "label": "Car 12",
        "values": {
          "mpg": 28,
          "horsepower": 75,
          "weight": 2220,
          "acceleration": 14
        }
      },
      {
        "id": "12",
        "label": "Car 13",
        "values": {
          "mpg": 32,
          "horsepower": 52,
          "weight": 1985,
          "acceleration": 19.4
        }
      },
      {
        "id": "13",
        "label": "Car 14",
        "values": {
          "mpg": 30,
          "horsepower": 68,
          "weight": 2155,
          "acceleration": 16.5
        }
      },
      {
        "id": "14",
        "label": "Car 15",
        "values": {
          "mpg": 27,
          "horsepower": 90,
          "weight": 2430,
          "acceleration": 15
        }
      },
      {
        "id": "15",
        "label": "Car 16",
        "values": {
          "mpg": 36,
          "horsepower": 78,
          "weight": 1937,
          "acceleration": 18.6
        }
      },
      {
        "id": "16",
        "label": "Car 17",
        "values": {
          "mpg": 20,
          "horsepower": 115,
          "weight": 3060,
          "acceleration": 13
        }
      },
      {
        "id": "17",
        "label": "Car 18",
        "values": {
          "mpg": 16,
          "horsepower": 155,
          "weight": 3645,
          "acceleration": 11.2
        }
      },
      {
        "id": "18",
        "label": "Car 19",
        "values": {
          "mpg": 19,
          "horsepower": 133,
          "weight": 3210,
          "acceleration": 12.8
        }
      },
      {
        "id": "19",
        "label": "Car 20",
        "values": {
          "mpg": 13,
          "horsepower": 175,
          "weight": 4100,
          "acceleration": 10.2
        }
      },
      {
        "id": "20",
        "label": "Car 21",
        "values": {
          "mpg": 11,
          "horsepower": 210,
          "weight": 4638,
          "acceleration": 8.5
        }
      },
      {
        "id": "21",
        "label": "Car 22",
        "values": {
          "mpg": 12,
          "horsepower": 190,
          "weight": 4502,
          "acceleration": 8.8
        }
      },
      {
        "id": "22",
        "label": "Car 23",
        "values": {
          "mpg": 38,
          "horsepower": 60,
          "weight": 1755,
          "acceleration": 20.5
        }
      },
      {
        "id": "23",
        "label": "Car 24",
        "values": {
          "mpg": 44,
          "horsepower": 52,
          "weight": 1613,
          "acceleration": 24.6
        }
      },
      {
        "id": "24",
        "label": "Car 25",
        "values": {
          "mpg": 40,
          "horsepower": 65,
          "weight": 1835,
          "acceleration": 21
        }
      },
      {
        "id": "25",
        "label": "Car 26",
        "values": {
          "mpg": 34,
          "horsepower": 72,
          "weight": 2050,
          "acceleration": 17.5
        }
      },
      {
        "id": "26",
        "label": "Car 27",
        "values": {
          "mpg": 29,
          "horsepower": 85,
          "weight": 2372,
          "acceleration": 15.8
        }
      },
      {
        "id": "27",
        "label": "Car 28",
        "values": {
          "mpg": 23,
          "horsepower": 105,
          "weight": 2830,
          "acceleration": 14.2
        }
      },
      {
        "id": "28",
        "label": "Car 29",
        "values": {
          "mpg": 35,
          "horsepower": 70,
          "weight": 2020,
          "acceleration": 18
        }
      },
      {
        "id": "29",
        "label": "Car 30",
        "values": {
          "mpg": 42,
          "horsepower": 55,
          "weight": 1680,
          "acceleration": 22
        }
      }
    ]
  },
  "encoding": {
    "dimensions": [
      {
        "id": "mpg",
        "label": "MPG",
        "unit": "miles/gallon"
      },
      {
        "id": "horsepower",
        "label": "Horsepower",
        "unit": "hp"
      },
      {
        "id": "weight",
        "label": "Weight (lb)",
        "unit": "lb"
      },
      {
        "id": "acceleration",
        "label": "Accel (s)",
        "unit": "seconds"
      }
    ]
  },
  "calculation": {
    "missing": "reject",
    "domain": {
      "mode": "observed-extent",
      "padding": 0.05,
      "constantPadding": 1
    },
    "nice": true
  },
  "layout": {
    "margin": {
      "top": 20,
      "right": 24,
      "bottom": 34,
      "left": 60
    },
    "maximumAspect": 1.6,
    "minimumCellSize": 70,
    "diagonal": "dimension-label",
    "mirrored": true
  },
  "dots": {
    "color": "series.blue",
    "radius": 2,
    "opacity": 0.5,
    "hoverRadius": 4,
    "hoverOpacity": 1
  },
  "cell": {
    "borderColor": "border",
    "borderWidth": 0.5
  },
  "diagonal": {
    "background": "bg",
    "textColor": "textPrimary",
    "fontSize": 10,
    "fontWeight": 600,
    "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
    "overflow": "reject"
  },
  "axes": {
    "fontSize": 10,
    "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
    "color": "textSecondary",
    "exportMeasurement": "glyph-advances",
    "numerals": "proportional-nums",
    "decimals": 2,
    "xGap": 6,
    "yGap": 2,
    "lineHeight": 1.25,
    "levels": [
      4,
      3,
      2
    ],
    "xOffset": 12,
    "yOffset": 6,
    "cellEdgePadding": 3,
    "minimumTicks": 2
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Feature Relationships",
      "subtitle": "Pairwise relationships between variables"
    },
    "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
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "scattermatrix",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
