{
  "version": "xarts.variable-width/1",
  "family": "variable-width",
  "operation": "normalized-mosaic",
  "provenance": {
    "legacyId": "marimekko"
  },
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "Las OTAs pesan un 45% en Hotel Centro, frente al 30% de Hotel Playa",
      "subtitle": "Mix de distribución 2025 — ancho de columna = ingreso por habitaciones (€M)",
      "source": "Fuente: datos de ejemplo, chart-akinator demo"
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 600
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "marimekko-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "data": {
    "rows": [
      {
        "id": "row-1",
        "category": "Hotel Playa",
        "series": "Directo",
        "value": 4.6
      },
      {
        "id": "row-2",
        "category": "Hotel Playa",
        "series": "OTAs",
        "value": 3.6
      },
      {
        "id": "row-3",
        "category": "Hotel Playa",
        "series": "Turoperador",
        "value": 2.6
      },
      {
        "id": "row-4",
        "category": "Hotel Playa",
        "series": "Empresas",
        "value": 1.2
      },
      {
        "id": "row-5",
        "category": "Hotel Centro",
        "series": "Directo",
        "value": 1.8
      },
      {
        "id": "row-6",
        "category": "Hotel Centro",
        "series": "OTAs",
        "value": 3.6
      },
      {
        "id": "row-7",
        "category": "Hotel Centro",
        "series": "Turoperador",
        "value": 0.6
      },
      {
        "id": "row-8",
        "category": "Hotel Centro",
        "series": "Empresas",
        "value": 2
      }
    ]
  },
  "source": {
    "unit": "€M",
    "measure": "Ingresos por habitaciones"
  },
  "calculation": {
    "width": "category-total-share",
    "height": "within-category-share",
    "duplicates": "sum",
    "categories": "input",
    "series": "input",
    "completeness": "observed",
    "zeroCategories": "reject"
  },
  "series": [
    {
      "id": "Directo",
      "label": "Directo",
      "color": "series.blue"
    },
    {
      "id": "OTAs",
      "label": "OTAs",
      "color": "series.rose"
    },
    {
      "id": "Turoperador",
      "label": "Turoperador",
      "color": "series.teal"
    },
    {
      "id": "Empresas",
      "label": "Empresas",
      "color": "series.red"
    }
  ],
  "layout": {
    "orientation": "vertical",
    "margin": {
      "top": 56,
      "right": 32,
      "bottom": 92,
      "left": 32
    },
    "categoryGap": 6,
    "categoryRows": 4,
    "categoryEdgeInset": 12,
    "axisGap": 16,
    "totalGap": 4,
    "baselineAscent": 0.8,
    "exportMeasurement": "shaped"
  },
  "marks": {
    "stroke": "surface",
    "strokeWidth": 1,
    "opacity": 0.9,
    "hoverOpacity": 1
  },
  "labels": {
    "category": {
      "size": 14,
      "weight": 500,
      "color": "textSecondary",
      "overflow": "reject"
    },
    "cell": {
      "size": 14,
      "weight": 600,
      "color": "surface",
      "text": "both",
      "shareDecimals": 1,
      "valueDecimals": 1,
      "padding": 2,
      "overflow": "reject"
    },
    "total": {
      "size": 14,
      "weight": 600,
      "color": "textPrimary",
      "prefix": "€",
      "suffix": "M",
      "decimals": 1
    }
  },
  "legend": {
    "fontSize": 14,
    "color": "#3d3d3d",
    "dotSize": 10,
    "dotRadius": 1,
    "labelGap": 4,
    "itemGap": 16,
    "rowGap": 8,
    "plotGap": 28,
    "overflow": "reject",
    "spacing": {
      "kind": "measured"
    }
  },
  "axes": {
    "baseline": true,
    "color": "#3d3d3d",
    "width": 1.5
  },
  "interaction": {
    "tooltip": true,
    "categoryShareLabel": "del hotel",
    "totalShareLabel": "del total",
    "categoryTotalLabel": "Total del hotel"
  },
  "annotations": []
}
