{
  "version": "xarts.multivariate-records/1",
  "family": "multivariate-records",
  "operation": "perspective-observations",
  "provenance": {
    "legacyId": "scatter-3d"
  },
  "data": {
    "rows": [
      {
        "id": "service-1",
        "label": "Motor de precios",
        "group": "Cómputo",
        "values": {
          "cpu": 46,
          "network": 8,
          "memory": 12
        }
      },
      {
        "id": "service-2",
        "label": "Recomendador",
        "group": "Cómputo",
        "values": {
          "cpu": 38,
          "network": 6,
          "memory": 16
        }
      },
      {
        "id": "service-3",
        "label": "Render de informes",
        "group": "Cómputo",
        "values": {
          "cpu": 31,
          "network": 11,
          "memory": 9
        }
      },
      {
        "id": "service-4",
        "label": "Caché de sesiones",
        "group": "Memoria",
        "values": {
          "cpu": 6,
          "network": 14,
          "memory": 122
        }
      },
      {
        "id": "service-5",
        "label": "Índice de búsqueda",
        "group": "Memoria",
        "values": {
          "cpu": 11,
          "network": 9,
          "memory": 96
        }
      },
      {
        "id": "service-6",
        "label": "Grafo de permisos",
        "group": "Memoria",
        "values": {
          "cpu": 8,
          "network": 5,
          "memory": 74
        }
      },
      {
        "id": "service-7",
        "label": "Pasarela de API",
        "group": "Red",
        "values": {
          "cpu": 14,
          "network": 118,
          "memory": 21
        }
      },
      {
        "id": "service-8",
        "label": "Entrega de medios",
        "group": "Red",
        "values": {
          "cpu": 5,
          "network": 96,
          "memory": 14
        }
      },
      {
        "id": "service-9",
        "label": "Réplica a la nube",
        "group": "Red",
        "values": {
          "cpu": 9,
          "network": 71,
          "memory": 18
        }
      },
      {
        "id": "service-10",
        "label": "Facturación",
        "group": "General",
        "values": {
          "cpu": 18,
          "network": 22,
          "memory": 34
        }
      },
      {
        "id": "service-11",
        "label": "Panel de control",
        "group": "General",
        "values": {
          "cpu": 12,
          "network": 17,
          "memory": 27
        }
      }
    ]
  },
  "encoding": {
    "dimensions": [
      {
        "id": "cpu",
        "label": "CPU (vCPU)",
        "unit": "vCPU"
      },
      {
        "id": "network",
        "label": "Red de salida (MB/s)",
        "unit": "MB/s"
      },
      {
        "id": "memory",
        "label": "Memoria (GB)",
        "unit": "GB"
      }
    ],
    "axes": {
      "x": "cpu",
      "y": "network",
      "z": "memory"
    },
    "groups": [
      {
        "id": "Cómputo",
        "label": "Cómputo",
        "color": "#112c47"
      },
      {
        "id": "Memoria",
        "label": "Memoria",
        "color": "#6a4a4a"
      },
      {
        "id": "Red",
        "label": "Red",
        "color": "#4b8596"
      },
      {
        "id": "General",
        "label": "General",
        "color": "#9c1f1a"
      }
    ]
  },
  "calculation": {
    "missing": "reject",
    "domains": {
      "cpu": {
        "source": "observed",
        "constantRelativePadding": 0.5,
        "constantZeroPadding": 0.5
      },
      "network": {
        "source": "observed",
        "constantRelativePadding": 0.5,
        "constantZeroPadding": 0.5
      },
      "memory": {
        "source": "observed",
        "constantRelativePadding": 0.5,
        "constantZeroPadding": 0.5
      }
    },
    "nice": true,
    "depthOrder": "far-to-near"
  },
  "camera": {
    "rotation": 45,
    "elevation": 35,
    "distance": 4.5
  },
  "layout": {
    "margin": {
      "top": 24,
      "right": 24,
      "bottom": 24,
      "left": 24
    },
    "minimumCubeSide": 220,
    "tickThinning": [
      1,
      2,
      3
    ],
    "exportMeasurement": "glyph-advances"
  },
  "box": {
    "floor": "surfaceAlt",
    "wall": "surface",
    "opacity": 0.85,
    "outline": "border",
    "outlineWidth": 1,
    "axisColor": "textMuted",
    "axisWidth": 1.25,
    "ticks": 4,
    "tickLength": 5,
    "tickGap": 5,
    "titleGap": 6,
    "gridColor": "#d6cfbc",
    "gridOpacity": 1
  },
  "marks": {
    "radius": 5.5,
    "stroke": "surface",
    "strokeWidth": 1.25,
    "opacity": 0.95,
    "hoverRadius": 7.5
  },
  "drops": {
    "color": "textMuted",
    "width": 1,
    "dash": "2 3",
    "opacity": 0.75,
    "shadowRadius": 1.75
  },
  "typography": {
    "ticks": {
      "size": 13,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 600,
      "measurementWeight": 600,
      "color": "#3d3d3d"
    },
    "titles": {
      "size": 13,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 700,
      "measurementWeight": 700,
      "color": "#2a2a2a"
    },
    "labels": {
      "size": 13,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 600,
      "measurementWeight": 600,
      "color": "textSecondary"
    }
  },
  "labels": {
    "visible": true,
    "lineHeight": 20,
    "markGap": 7,
    "axisClearance": 6,
    "overflow": "reject",
    "guides": {
      "visible": true,
      "color": "textMuted",
      "width": 1,
      "clearance": 3
    }
  },
  "legend": {
    "visible": true,
    "height": 52,
    "overflow": "reject",
    "exportMeasurement": "glyph-advances"
  },
  "annotations": [],
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "Cada servicio tira de un recurso, y de uno solo",
      "subtitle": "Consumo en el p95 de la semana de más carga, once servicios de la plataforma"
    },
    "footer": {
      "source": "Telemetría interna, semana 34 de 2026 (cifras ilustrativas). Cada marca cae sobre el suelo de la caja por su línea de puntos: ahí se lee su CPU y su red."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 940,
      "height": 600
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "scatter-3d",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
