{
  "version": "xarts.intervals/1",
  "family": "intervals",
  "operation": "paired-values",
  "provenance": {
    "legacyId": "slope"
  },
  "data": {
    "rows": [
      {
        "Company": "TechCorp",
        "2023 Score": 85,
        "2024 Score": 92,
        "Change": 7
      },
      {
        "Company": "InnovateLabs",
        "2023 Score": 78,
        "2024 Score": 74,
        "Change": -4
      },
      {
        "Company": "DataSystems",
        "2023 Score": 90,
        "2024 Score": 88,
        "Change": -2
      },
      {
        "Company": "CloudFirst",
        "2023 Score": 72,
        "2024 Score": 85,
        "Change": 13
      },
      {
        "Company": "NextGen",
        "2023 Score": 88,
        "2024 Score": 90,
        "Change": 2
      },
      {
        "Company": "AlphaTech",
        "2023 Score": 65,
        "2024 Score": 68,
        "Change": 3
      },
      {
        "Company": "BetaSoft",
        "2023 Score": 95,
        "2024 Score": 82,
        "Change": -13
      },
      {
        "Company": "GammaCorp",
        "2023 Score": 80,
        "2024 Score": 80,
        "Change": 0
      }
    ]
  },
  "encoding": {
    "category": "Company",
    "start": "2023 Score",
    "end": "2024 Score",
    "providedDifference": "Change"
  },
  "calculation": {
    "order": "input",
    "difference": "end-minus-start",
    "percentBase": "start",
    "zeroBase": "null",
    "tolerance": 1e-9,
    "domain": {
      "origin": "extent",
      "paddingRatio": [
        0,
        0
      ],
      "paddingAbsolute": 5,
      "nice": false
    }
  },
  "layout": {
    "exportMeasurement": "shaped",
    "view": "slope",
    "margin": {
      "top": 36,
      "right": 120,
      "bottom": 40,
      "left": 120
    },
    "measureCategory": "none",
    "categoryMaxWidth": 200,
    "categoryWidthRatio": 0.28,
    "bandPadding": 0.3
  },
  "marks": {
    "radius": 4,
    "lineWidth": 2,
    "lineColor": "border",
    "startColor": "cyan",
    "endColor": "blue",
    "colorBy": "difference",
    "positiveColor": "emerald",
    "negativeColor": "red",
    "neutralColor": "cyan",
    "opacity": 0.9,
    "rowGuides": false,
    "guideColor": "borderLight",
    "baseline": "none",
    "arrow": {
      "length": 11,
      "width": 9,
      "startFill": "surface",
      "lineOpacity": 0.75
    }
  },
  "labels": {
    "start": "2023",
    "end": "2024",
    "delta": false,
    "deltaMode": "absolute",
    "deltaOffset": 8,
    "deltaFontSize": 11,
    "categoryFontSize": 11,
    "cutFontSize": 12,
    "cutFontWeight": 600,
    "categoryOffset": 8,
    "cutOffset": 8,
    "orderVisible": false,
    "orderText": {
      "input": "Filas en el orden del fichero",
      "end-desc": "Filas ordenadas por el valor de llegada",
      "difference-desc": "Filas ordenadas por el cambio (Δ)",
      "category": "Filas ordenadas por categoría"
    }
  },
  "axes": {
    "ticks": 5,
    "grid": false
  },
  "legend": {
    "visible": false,
    "position": "right",
    "shape": "circle"
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Company Rankings",
      "subtitle": "Ranking changes between 2023 and 2024"
    },
    "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": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "slope-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
