{
  "version": "xarts.density-profiles/1",
  "family": "density-profiles",
  "operation": "bivariate-depth",
  "provenance": {
    "legacyId": "bagplot"
  },
  "data": {
    "kind": "paired-observations",
    "rows": [
      {
        "id": "store-01",
        "label": "Albacete · Centro",
        "x": 314,
        "y": 146.6
      },
      {
        "id": "store-02",
        "label": "Alicante · Maisonnave",
        "x": 438,
        "y": 302.5
      },
      {
        "id": "store-03",
        "label": "Almería · Torrecárdenas",
        "x": 451,
        "y": 288.4
      },
      {
        "id": "store-04",
        "label": "Badajoz · Conquistadores",
        "x": 277,
        "y": 227.7
      },
      {
        "id": "store-05",
        "label": "Bilbao · Gran Vía",
        "x": 320,
        "y": 238.4
      },
      {
        "id": "store-06",
        "label": "Burgos · Camino",
        "x": 220,
        "y": 179.5
      },
      {
        "id": "store-07",
        "label": "Cádiz · Bahía Sur",
        "x": 354,
        "y": 194.7
      },
      {
        "id": "store-08",
        "label": "Castellón · Salera",
        "x": 572,
        "y": 324.8
      },
      {
        "id": "store-09",
        "label": "Córdoba · Cruz Conde",
        "x": 383,
        "y": 192
      },
      {
        "id": "store-10",
        "label": "A Coruña · Marineda",
        "x": 486,
        "y": 213
      },
      {
        "id": "store-11",
        "label": "Gijón · Corrida",
        "x": 615,
        "y": 312.4
      },
      {
        "id": "store-12",
        "label": "Girona · Espai Gironès",
        "x": 219,
        "y": 178.4
      },
      {
        "id": "store-13",
        "label": "Granada · Recogidas",
        "x": 528,
        "y": 263.2
      },
      {
        "id": "store-14",
        "label": "Huelva · Holea",
        "x": 452,
        "y": 237.3
      },
      {
        "id": "store-15",
        "label": "Jaén · Roldán y Marín",
        "x": 585,
        "y": 296
      },
      {
        "id": "store-16",
        "label": "Las Palmas · Mesa y López",
        "x": 363,
        "y": 189.6
      },
      {
        "id": "store-17",
        "label": "León · Ordoño II",
        "x": 391,
        "y": 216.1
      },
      {
        "id": "store-18",
        "label": "Lleida · Eix Comercial",
        "x": 432,
        "y": 312.2
      },
      {
        "id": "store-19",
        "label": "Logroño · Portales",
        "x": 372,
        "y": 233
      },
      {
        "id": "store-20",
        "label": "Lugo · As Termas",
        "x": 219,
        "y": 171.5
      },
      {
        "id": "store-21",
        "label": "Madrid · Fuencarral",
        "x": 550,
        "y": 225.9
      },
      {
        "id": "store-22",
        "label": "Madrid · Preciados",
        "x": 485,
        "y": 273
      },
      {
        "id": "store-23",
        "label": "Málaga · Larios",
        "x": 356,
        "y": 220.6
      },
      {
        "id": "store-24",
        "label": "Murcia · Nueva Condomina",
        "x": 241,
        "y": 201.8
      },
      {
        "id": "store-25",
        "label": "Ourense · Ponte Vella",
        "x": 571,
        "y": 311.8
      },
      {
        "id": "store-26",
        "label": "Oviedo · Uría",
        "x": 518,
        "y": 304.7
      },
      {
        "id": "store-27",
        "label": "Palma · Jaime III",
        "x": 341,
        "y": 264.7
      },
      {
        "id": "store-28",
        "label": "Pamplona · Carlos III",
        "x": 549,
        "y": 303.7
      },
      {
        "id": "store-29",
        "label": "Pontevedra · Peregrina",
        "x": 316,
        "y": 224.5
      },
      {
        "id": "store-30",
        "label": "Salamanca · Toro",
        "x": 297,
        "y": 179.9
      },
      {
        "id": "store-31",
        "label": "Santander · Pombo",
        "x": 392,
        "y": 191.3
      },
      {
        "id": "store-32",
        "label": "Segovia · Real",
        "x": 363,
        "y": 237.6
      },
      {
        "id": "store-33",
        "label": "Sevilla · Tetuán",
        "x": 524,
        "y": 314.9
      },
      {
        "id": "store-34",
        "label": "Tarragona · Rambla Nova",
        "x": 469,
        "y": 198.8
      },
      {
        "id": "store-35",
        "label": "Tenerife · Meridiano",
        "x": 643,
        "y": 263.4
      },
      {
        "id": "store-36",
        "label": "Toledo · Luz del Tajo",
        "x": 431,
        "y": 240.9
      },
      {
        "id": "store-37",
        "label": "Valencia · Colón",
        "x": 379,
        "y": 204.1
      },
      {
        "id": "store-38",
        "label": "Valladolid · Santiago",
        "x": 437,
        "y": 270.9
      },
      {
        "id": "store-39",
        "label": "Vigo · Príncipe",
        "x": 467,
        "y": 280
      },
      {
        "id": "store-40",
        "label": "Vitoria · Dendaraba",
        "x": 608,
        "y": 217.3
      },
      {
        "id": "store-41",
        "label": "Zamora · Santa Clara",
        "x": 397,
        "y": 290.3
      },
      {
        "id": "store-42",
        "label": "Alcalá · Cuadernillos",
        "x": 530,
        "y": 366.1
      },
      {
        "id": "store-43",
        "label": "Sabadell · Eix Macià",
        "x": 467,
        "y": 234.8
      },
      {
        "id": "store-44",
        "label": "Terrassa · Rambla",
        "x": 467,
        "y": 229
      },
      {
        "id": "store-45",
        "label": "Getxo · Artea",
        "x": 588,
        "y": 331.8
      },
      {
        "id": "store-46",
        "label": "Getafe · Nassica",
        "x": 641,
        "y": 167
      },
      {
        "id": "store-47",
        "label": "Zaragoza · Puerto Venecia",
        "x": 621,
        "y": 176
      },
      {
        "id": "store-48",
        "label": "San Sebastián · Centro",
        "x": 252,
        "y": 371
      }
    ]
  },
  "encoding": {
    "x": {
      "label": "Visitantes al día",
      "unit": "visitas/día"
    },
    "y": {
      "label": "Venta por m² al mes (€)",
      "unit": "EUR/m²/mes"
    }
  },
  "calculation": {
    "depth": "closed-halfplane-minimum",
    "angularTolerance": 1e-12,
    "centralFraction": 0.5,
    "tieBreak": "normalized-distance-then-id",
    "median": "barycenter-of-deepest-observations",
    "bag": "convex-hull-of-selected-observations",
    "fenceFactor": 3,
    "univariateWhiskerFactor": 1.5,
    "quantiles": "linear-type-7",
    "degenerate": "reject",
    "xDomain": {
      "source": "extent",
      "paddingMode": "fraction",
      "minimumSpan": 1,
      "padding": [
        0.04,
        0.04
      ],
      "includeZero": false
    },
    "yDomain": {
      "source": "extent",
      "paddingMode": "fraction",
      "minimumSpan": 1,
      "padding": [
        0.05,
        0.35
      ],
      "includeZero": false
    },
    "niceX": true,
    "niceY": true
  },
  "layout": {
    "measurement": {
      "numbers": "tabular-nums",
      "inkPadding": 4,
      "tickSize": 13,
      "titleSize": 13
    },
    "margin": {
      "top": 30,
      "right": 30,
      "bottom": 80,
      "left": 90
    },
    "ticksX": 6,
    "ticksY": 6,
    "maximumBottom": 88,
    "edgeClearance": 14,
    "exportMeasurement": "shaped",
    "textOverflow": "reject"
  },
  "axes": {
    "ticks": {
      "size": 13,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "color": "#3d3d3d"
    },
    "titles": {
      "size": 13,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 700,
      "color": "#2a2a2a"
    },
    "lineColor": "#3d3d3d",
    "lineWidth": 1.5,
    "tickLength": 0,
    "gridColor": "#d6cfbc",
    "gridOpacity": 1
  },
  "labels": {
    "font": {
      "size": 14,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 600,
      "color": "textPrimary"
    },
    "separation": 12,
    "maximumWidth": 300
  },
  "summary": {
    "exportMeasurement": "shaped",
    "visible": true,
    "font": {
      "size": 14,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 400,
      "color": "textPrimary"
    },
    "headlineFont": {
      "size": 16,
      "family": "'Inter', system-ui, -apple-system, sans-serif",
      "weight": 600,
      "color": "textPrimary"
    },
    "secondaryColor": "textSecondary",
    "fill": "surface",
    "fillOpacity": 0.88,
    "stroke": "borderLight",
    "paddingX": 12,
    "paddingY": 12,
    "lineGap": 5,
    "radius": 2,
    "maximumWidth": 520
  },
  "marks": {
    "regular": {
      "radius": 3.5,
      "fill": "textPrimary",
      "opacity": 0.8,
      "stroke": "surface",
      "width": 1
    },
    "outlier": {
      "radius": 5.5,
      "fill": "negative",
      "stroke": "surface",
      "width": 1.25
    },
    "center": {
      "radius": 5,
      "fill": "textPrimary",
      "stroke": "surface",
      "width": 2,
      "crossSize": 9,
      "crossWidth": 1.5
    },
    "bag": {
      "fill": "#a3aeba",
      "stroke": "#112c47",
      "width": 1.5
    },
    "loop": {
      "fill": "#dadfe3",
      "stroke": "#708092",
      "width": 1.25
    }
  },
  "annotations": [],
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "Tres tiendas raras que ningún histograma habría marcado",
      "subtitle": "48 tiendas por tráfico y venta por m²: la bolsa encierra la mitad más profunda, y las tres que quedan fuera están dentro del bigote de los dos ejes por separado"
    },
    "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": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 680
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "bagplot",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
