{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "provenance": {
    "legacyId": "xg-race"
  },
  "measurement": {
    "exportText": "font-pairs",
    "interactiveText": "shaped"
  },
  "marks": {
    "opacity": 1
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Ganó el equipo que apenas tiró",
      "subtitle": "Carrera de xG acumulado, disparo a disparo: 2,41 del local contra 0,62 del visitante, y un 1–2 en el marcador (partido ilustrativo)"
    },
    "footer": {
      "source": "xarts · datos de demostración",
      "notes": "Datos ilustrativos para explorar el gráfico y sustituirlos por los propios."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "output": {
    "filename": "xg-race",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "operation": "cumulative-events",
  "data": {
    "rows": [
      {
        "id": "xg-race-0",
        "time": 6,
        "series": "Celta",
        "value": 0.07,
        "goal": false,
        "label": "Iago Aspas"
      },
      {
        "id": "xg-race-1",
        "time": 11,
        "series": "Celta",
        "value": 0.04,
        "goal": false,
        "label": "Óscar Mingueza"
      },
      {
        "id": "xg-race-2",
        "time": 14,
        "series": "Celta",
        "value": 0.11,
        "goal": false,
        "label": "Borja Iglesias"
      },
      {
        "id": "xg-race-3",
        "time": 18,
        "series": "Getafe",
        "value": 0.03,
        "goal": false,
        "label": "Borja Mayoral"
      },
      {
        "id": "xg-race-4",
        "time": 21,
        "series": "Celta",
        "value": 0.06,
        "goal": false,
        "label": "Iago Aspas"
      },
      {
        "id": "xg-race-5",
        "time": 26,
        "series": "Celta",
        "value": 0.28,
        "goal": false,
        "label": "Borja Iglesias"
      },
      {
        "id": "xg-race-6",
        "time": 33,
        "series": "Celta",
        "value": 0.05,
        "goal": false,
        "label": "Fran Beltrán"
      },
      {
        "id": "xg-race-7",
        "time": 37,
        "series": "Getafe",
        "value": 0.44,
        "goal": true,
        "label": "Borja Mayoral"
      },
      {
        "id": "xg-race-8",
        "time": 38,
        "series": "Celta",
        "value": 0.08,
        "goal": false,
        "label": "Williot Swedberg"
      },
      {
        "id": "xg-race-9",
        "time": 41,
        "series": "Celta",
        "value": 0.09,
        "goal": false,
        "label": "Iago Aspas"
      },
      {
        "id": "xg-race-10",
        "time": 45,
        "series": "Celta",
        "value": 0.03,
        "goal": false,
        "label": "Carl Starfelt"
      },
      {
        "id": "xg-race-11",
        "time": 49,
        "series": "Celta",
        "value": 0.06,
        "goal": false,
        "label": "Óscar Mingueza"
      },
      {
        "id": "xg-race-12",
        "time": 52,
        "series": "Getafe",
        "value": 0.02,
        "goal": false,
        "label": "Carles Aleñá"
      },
      {
        "id": "xg-race-13",
        "time": 53,
        "series": "Celta",
        "value": 0.17,
        "goal": false,
        "label": "Borja Iglesias"
      },
      {
        "id": "xg-race-14",
        "time": 57,
        "series": "Celta",
        "value": 0.05,
        "goal": false,
        "label": "Hugo Álvarez"
      },
      {
        "id": "xg-race-15",
        "time": 62,
        "series": "Celta",
        "value": 0.13,
        "goal": false,
        "label": "Iago Aspas"
      },
      {
        "id": "xg-race-16",
        "time": 66,
        "series": "Celta",
        "value": 0.76,
        "goal": true,
        "label": "Iago Aspas (penalti)"
      },
      {
        "id": "xg-race-17",
        "time": 69,
        "series": "Getafe",
        "value": 0.05,
        "goal": false,
        "label": "Christantus Uche"
      },
      {
        "id": "xg-race-18",
        "time": 71,
        "series": "Celta",
        "value": 0.04,
        "goal": false,
        "label": "Jailson"
      },
      {
        "id": "xg-race-19",
        "time": 77,
        "series": "Celta",
        "value": 0.1,
        "goal": false,
        "label": "Williot Swedberg"
      },
      {
        "id": "xg-race-20",
        "time": 79,
        "series": "Getafe",
        "value": 0.06,
        "goal": true,
        "label": "Christantus Uche"
      },
      {
        "id": "xg-race-21",
        "time": 83,
        "series": "Celta",
        "value": 0.07,
        "goal": false,
        "label": "Hugo Álvarez"
      },
      {
        "id": "xg-race-22",
        "time": 88,
        "series": "Celta",
        "value": 0.18,
        "goal": false,
        "label": "Borja Iglesias"
      },
      {
        "id": "xg-race-23",
        "time": 90,
        "series": "Getafe",
        "value": 0.02,
        "goal": false,
        "label": "Djené Dakonam"
      },
      {
        "id": "xg-race-24",
        "time": 93,
        "series": "Celta",
        "value": 0.04,
        "goal": false,
        "label": "Borja Iglesias"
      }
    ]
  },
  "encoding": {
    "time": "time",
    "series": "series",
    "value": "value",
    "goal": "goal",
    "label": "label",
    "groups": [
      {
        "id": "Celta",
        "label": "Celta",
        "color": "#112c47"
      },
      {
        "id": "Getafe",
        "label": "Getafe",
        "color": "#6a4a4a"
      }
    ],
    "unit": "xG"
  },
  "calculation": {
    "coordinateUnit": "minutes",
    "order": "time-asc-stable",
    "accumulation": "sum-events",
    "start": 0,
    "end": {
      "source": "last-event"
    },
    "valuePadding": 0.12
  },
  "profile": {
    "margin": {
      "top": 20,
      "right": 28,
      "bottom": 44,
      "left": 52
    },
    "axis": {
      "stroke": "transparent",
      "tickStroke": "transparent",
      "tickLength": 0,
      "labelColor": "#2a2a2a",
      "tickLabelColor": "#3d3d3d",
      "labelFontSize": 14,
      "tickLabelFontSize": 13,
      "labelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "tickLabelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "baselineStroke": "#3d3d3d",
      "baselineWidth": 1.5,
      "titleColor": "#2a2a2a",
      "titleFontSize": 13,
      "titleFontWeight": 700
    },
    "grid": {
      "stroke": "#d6cfbc",
      "strokeOpacity": 1,
      "strokeDasharray": ""
    },
    "curva": {
      "grosor": 2.25,
      "grosorRotulo": 2.25
    },
    "tiro": {
      "radio": 2.6,
      "radioGol": 5,
      "anilloGol": 2
    },
    "descanso": {
      "minuto": 45,
      "pintar": true,
      "rotulo": "descanso",
      "trazo": "rgba(106, 100, 88, 0.55)",
      "grosor": 1,
      "guion": "3,3"
    },
    "rotulo": {
      "cuerpo": 12,
      "cuerpoCifra": 12,
      "anchoMaximo": 190,
      "hueco": 8,
      "color": "#0d0d0d"
    },
    "valueFormat": {
      "prefix": "",
      "suffix": "",
      "decimals": 2
    },
    "ejes": {
      "tituloX": "Minuto de partido",
      "tituloY": "xG acumulado"
    }
  }
}
