{
  "version": "xarts.metric-panels/1",
  "family": "metric-panels",
  "operation": "bounded-measures",
  "provenance": {
    "legacyId": "shapefillgauge"
  },
  "data": {
    "rows": [
      {
        "id": "resource-1",
        "label": "Habitaciones vendidas",
        "value": 1184,
        "capacity": 1290,
        "unit": "habitaciones",
        "shape": "edificio"
      },
      {
        "id": "resource-2",
        "label": "Parking reservado",
        "value": 341,
        "capacity": 410,
        "unit": "plazas",
        "shape": "coche"
      },
      {
        "id": "resource-3",
        "label": "Cupo de agua contratado",
        "value": 268,
        "capacity": 340,
        "unit": "m³/día",
        "shape": "gota"
      },
      {
        "id": "resource-4",
        "label": "Bodega apalabrada",
        "value": 8740,
        "capacity": 11500,
        "unit": "botellas",
        "shape": "botella"
      },
      {
        "id": "resource-5",
        "label": "Plantilla de sala contratada",
        "value": 74,
        "capacity": 128,
        "unit": "personas",
        "shape": "persona"
      }
    ]
  },
  "calculation": {
    "denominator": "row-capacity",
    "bounds": "reject",
    "missing": "reject",
    "quantization": "continuous",
    "fill": "polygon-area",
    "maximumWaveAreaError": 0.01,
    "order": "fraction-desc"
  },
  "shapes": {
    "persona": {
      "nombre": "una persona",
      "anillos": [
        [
          [
            50,
            8
          ],
          [
            51.764308525932094,
            8.086674919900457
          ],
          [
            53.51162579629031,
            8.345864952741852
          ],
          [
            55.225124190580324,
            8.77507395682024
          ],
          [
            56.88830178257162,
            9.37016841479684
          ],
          [
            58.485141262867955,
            10.12541724172961
          ],
          [
            60.00026419435284,
            11.033546978554186
          ],
          [
            61.41907911494562,
            12.085811839470734
          ],
          [
            62.72792206135786,
            13.272077938642143
          ],
          [
            63.914188160529264,
            14.58092088505438
          ],
          [
            64.96645302144582,
            15.999735805647159
          ],
          [
            65.87458275827039,
            17.514858737132037
          ],
          [
            66.62983158520316,
            19.111698217428383
          ],
          [
            67.22492604317976,
            20.774875809419676
          ],
          [
            67.65413504725815,
            22.48837420370969
          ],
          [
            67.91332508009954,
            24.235691474067906
          ],
          [
            68,
            26
          ],
          [
            67.91332508009954,
            27.76430852593209
          ],
          [
            67.65413504725815,
            29.511625796290307
          ],
          [
            67.22492604317976,
            31.225124190580317
          ],
          [
            66.62983158520316,
            32.88830178257162
          ],
          [
            65.87458275827039,
            34.485141262867955
          ],
          [
            64.96645302144582,
            36.00026419435284
          ],
          [
            63.914188160529264,
            37.41907911494562
          ],
          [
            62.72792206135786,
            38.72792206135786
          ],
          [
            61.41907911494562,
            39.914188160529264
          ],
          [
            60.00026419435284,
            40.966453021445815
          ],
          [
            58.48514126286796,
            41.87458275827039
          ],
          [
            56.88830178257162,
            42.62983158520316
          ],
          [
            55.225124190580324,
            43.224926043179764
          ],
          [
            53.51162579629032,
            43.65413504725815
          ],
          [
            51.764308525932094,
            43.91332508009954
          ],
          [
            50,
            44
          ],
          [
            48.235691474067906,
            43.91332508009954
          ],
          [
            46.48837420370969,
            43.65413504725815
          ],
          [
            44.77487580941968,
            43.224926043179764
          ],
          [
            43.11169821742838,
            42.62983158520316
          ],
          [
            41.514858737132045,
            41.87458275827039
          ],
          [
            39.99973580564716,
            40.966453021445815
          ],
          [
            38.58092088505438,
            39.914188160529264
          ],
          [
            37.27207793864214,
            38.72792206135786
          ],
          [
            36.085811839470736,
            37.419079114945625
          ],
          [
            35.033546978554185,
            36.00026419435284
          ],
          [
            34.12541724172961,
            34.48514126286796
          ],
          [
            33.370168414796844,
            32.888301782571624
          ],
          [
            32.775073956820236,
            31.225124190580324
          ],
          [
            32.345864952741856,
            29.511625796290318
          ],
          [
            32.08667491990046,
            27.764308525932087
          ],
          [
            32,
            26.000000000000004
          ],
          [
            32.08667491990046,
            24.23569147406792
          ],
          [
            32.34586495274185,
            22.48837420370969
          ],
          [
            32.775073956820236,
            20.774875809419683
          ],
          [
            33.37016841479684,
            19.11169821742838
          ],
          [
            34.12541724172961,
            17.514858737132045
          ],
          [
            35.033546978554185,
            15.999735805647166
          ],
          [
            36.085811839470736,
            14.580920885054379
          ],
          [
            37.27207793864214,
            13.272077938642148
          ],
          [
            38.580920885054375,
            12.085811839470741
          ],
          [
            39.99973580564716,
            11.033546978554186
          ],
          [
            41.51485873713204,
            10.125417241729613
          ],
          [
            43.11169821742837,
            9.370168414796844
          ],
          [
            44.774875809419676,
            8.77507395682024
          ],
          [
            46.48837420370968,
            8.345864952741856
          ],
          [
            48.23569147406791,
            8.086674919900457
          ]
        ],
        [
          [
            18,
            100
          ],
          [
            18.154088746489702,
            94.90310870286284
          ],
          [
            18.614871027096626,
            89.85530325516132
          ],
          [
            19.377909256569318,
            84.90519678276796
          ],
          [
            20.435854959638824,
            80.10046151701533
          ],
          [
            21.778519540852642,
            75.48736968504811
          ],
          [
            23.39297240631855,
            71.11034788298069
          ],
          [
            25.263665492392416,
            67.01154922349043
          ],
          [
            27.37258300203048,
            63.23044737829952
          ],
          [
            29.699414906763348,
            59.80345642513767
          ],
          [
            32.22175254337274,
            56.763580160267644
          ],
          [
            34.915304421568074,
            54.140094253885536
          ],
          [
            37.75413016431713,
            51.95826430941309
          ],
          [
            40.710890327857214,
            50.239102541925135
          ],
          [
            43.7571096954839,
            48.99916541903202
          ],
          [
            46.86345150945406,
            48.25039421304576
          ],
          [
            50,
            48
          ],
          [
            53.13654849054595,
            48.250394213045766
          ],
          [
            56.24289030451611,
            48.99916541903202
          ],
          [
            59.28910967214279,
            50.239102541925135
          ],
          [
            62.245869835682875,
            51.95826430941309
          ],
          [
            65.08469557843193,
            54.14009425388554
          ],
          [
            67.77824745662727,
            56.763580160267644
          ],
          [
            70.30058509323666,
            59.803456425137675
          ],
          [
            72.62741699796952,
            63.23044737829953
          ],
          [
            74.73633450760758,
            67.01154922349045
          ],
          [
            76.60702759368145,
            71.11034788298069
          ],
          [
            78.22148045914736,
            75.48736968504812
          ],
          [
            79.56414504036118,
            80.10046151701533
          ],
          [
            80.62209074343069,
            84.90519678276796
          ],
          [
            81.38512897290337,
            89.85530325516132
          ],
          [
            81.84591125351031,
            94.90310870286284
          ],
          [
            82,
            100
          ]
        ]
      ]
    },
    "edificio": {
      "nombre": "un edificio",
      "anillos": [
        [
          [
            20,
            100
          ],
          [
            20,
            34
          ],
          [
            32,
            34
          ],
          [
            32,
            14
          ],
          [
            47,
            14
          ],
          [
            47,
            4
          ],
          [
            53,
            4
          ],
          [
            53,
            14
          ],
          [
            68,
            14
          ],
          [
            68,
            34
          ],
          [
            80,
            34
          ],
          [
            80,
            100
          ]
        ]
      ]
    },
    "coche": {
      "nombre": "un coche",
      "anillos": [
        [
          [
            6,
            68
          ],
          [
            6,
            52
          ],
          [
            16,
            49
          ],
          [
            28,
            32
          ],
          [
            64,
            32
          ],
          [
            76,
            49
          ],
          [
            94,
            52
          ],
          [
            94,
            68
          ],
          [
            82,
            68
          ],
          [
            81.80785280403231,
            69.95090322016128
          ],
          [
            81.23879532511287,
            71.8268343236509
          ],
          [
            80.31469612302546,
            73.55570233019603
          ],
          [
            79.07106781186548,
            75.07106781186548
          ],
          [
            77.55570233019603,
            76.31469612302546
          ],
          [
            75.8268343236509,
            77.23879532511287
          ],
          [
            73.95090322016128,
            77.80785280403231
          ],
          [
            72,
            78
          ],
          [
            70.04909677983872,
            77.80785280403231
          ],
          [
            68.1731656763491,
            77.23879532511287
          ],
          [
            66.44429766980397,
            76.31469612302546
          ],
          [
            64.92893218813452,
            75.07106781186548
          ],
          [
            63.685303876974544,
            73.55570233019603
          ],
          [
            62.76120467488714,
            71.8268343236509
          ],
          [
            62.1921471959677,
            69.95090322016128
          ],
          [
            62,
            68
          ],
          [
            38,
            68
          ],
          [
            38,
            68
          ],
          [
            37.80785280403231,
            69.95090322016128
          ],
          [
            37.23879532511287,
            71.8268343236509
          ],
          [
            36.314696123025456,
            73.55570233019603
          ],
          [
            35.071067811865476,
            75.07106781186548
          ],
          [
            33.55570233019602,
            76.31469612302546
          ],
          [
            31.8268343236509,
            77.23879532511287
          ],
          [
            29.950903220161287,
            77.80785280403231
          ],
          [
            28,
            78
          ],
          [
            26.049096779838717,
            77.80785280403231
          ],
          [
            24.173165676349104,
            77.23879532511287
          ],
          [
            22.44429766980398,
            76.31469612302546
          ],
          [
            20.928932188134524,
            75.07106781186548
          ],
          [
            19.685303876974547,
            73.55570233019603
          ],
          [
            18.761204674887136,
            71.8268343236509
          ],
          [
            18.1921471959677,
            69.95090322016128
          ],
          [
            18,
            68
          ]
        ]
      ]
    },
    "gota": {
      "nombre": "una gota",
      "anillos": [
        [
          [
            50,
            4
          ],
          [
            76.25418057983974,
            51.483870967741936
          ],
          [
            77.1399721624367,
            53.21634203280764
          ],
          [
            77.91159243436614,
            55.00259086066928
          ],
          [
            78.56579537543111,
            56.83510313375001
          ],
          [
            79.09982891179833,
            58.706169915328005
          ],
          [
            79.51144649330841,
            60.607920079172175
          ],
          [
            79.79891654417,
            62.5323534214699
          ],
          [
            79.96102974728106,
            64.47137431575304
          ],
          [
            79.997104131534,
            66.41682576924406
          ],
          [
            79.90698794070346,
            68.3605237373553
          ],
          [
            79.69106027184813,
            70.29429155198875
          ],
          [
            79.35022948054092,
            72.20999431880473
          ],
          [
            78.88592935963638,
            74.09957313875842
          ],
          [
            78.30011310765033,
            75.9550790099425
          ],
          [
            77.59524511212523,
            77.7687062671191
          ],
          [
            76.77429058254674,
            79.53282541826907
          ],
          [
            75.84070307642327,
            81.24001524002286
          ],
          [
            74.7984099710034,
            82.88309399695564
          ],
          [
            73.65179594174785,
            84.45514965341435
          ],
          [
            72.40568451705843,
            85.94956895078307
          ],
          [
            71.06531778685854,
            87.3600652278653
          ],
          [
            69.63633435038649,
            88.68070486734995
          ],
          [
            68.12474559596973,
            89.90593225710674
          ],
          [
            66.53691041256539,
            91.03059316130535
          ],
          [
            64.87950843944978,
            92.04995640304111
          ],
          [
            63.15951196658845,
            92.959733767254
          ],
          [
            61.38415660389562,
            93.75609804021414
          ],
          [
            59.56091084277011,
            94.43569910968607
          ],
          [
            57.69744463795507,
            94.99567805804197
          ],
          [
            55.80159714189013,
            95.43367918903806
          ],
          [
            53.88134372728961,
            95.74785993765988
          ],
          [
            51.94476243667494,
            95.9368986213485
          ],
          [
            50.00000000000001,
            96
          ],
          [
            48.055237563325065,
            95.9368986213485
          ],
          [
            46.118656272710396,
            95.74785993765988
          ],
          [
            44.19840285810988,
            95.43367918903806
          ],
          [
            42.302555362044934,
            94.99567805804197
          ],
          [
            40.439089157229894,
            94.43569910968607
          ],
          [
            38.61584339610438,
            93.75609804021416
          ],
          [
            36.84048803341156,
            92.95973376725401
          ],
          [
            35.12049156055023,
            92.04995640304112
          ],
          [
            33.46308958743462,
            91.03059316130536
          ],
          [
            31.875254404030287,
            89.90593225710674
          ],
          [
            30.36366564961351,
            88.68070486734995
          ],
          [
            28.934682213141457,
            87.36006522786532
          ],
          [
            27.594315482941578,
            85.94956895078309
          ],
          [
            26.348204058252165,
            84.45514965341437
          ],
          [
            25.20159002899661,
            82.88309399695564
          ],
          [
            24.159296923576733,
            81.24001524002287
          ],
          [
            23.22570941745327,
            79.53282541826907
          ],
          [
            22.404754887874766,
            77.7687062671191
          ],
          [
            21.699886892349667,
            75.95507900994251
          ],
          [
            21.11407064036362,
            74.09957313875843
          ],
          [
            20.649770519459086,
            72.20999431880473
          ],
          [
            20.308939728151877,
            70.29429155198876
          ],
          [
            20.09301205929654,
            68.36052373735531
          ],
          [
            20.002895868466002,
            66.41682576924407
          ],
          [
            20.03897025271894,
            64.47137431575304
          ],
          [
            20.201083455830002,
            62.53235342146989
          ],
          [
            20.488553506691584,
            60.60792007917219
          ],
          [
            20.900171088201674,
            58.70616991532801
          ],
          [
            21.434204624568896,
            56.83510313375001
          ],
          [
            22.08840756563385,
            55.0025908606693
          ],
          [
            22.86002783756329,
            53.21634203280765
          ],
          [
            23.745819420160252,
            51.483870967741936
          ]
        ]
      ]
    },
    "botella": {
      "nombre": "una botella",
      "anillos": [
        [
          [
            41,
            2
          ],
          [
            59,
            2
          ],
          [
            59,
            25
          ],
          [
            59,
            25
          ],
          [
            60.95789288330077,
            25.128327079392847
          ],
          [
            62.88228567653781,
            25.511112605663975
          ],
          [
            64.74025148547635,
            26.1418070123307
          ],
          [
            66.5,
            27.00961894323342
          ],
          [
            68.1314214351308,
            28.099699895631474
          ],
          [
            69.60660171779821,
            29.393398282201787
          ],
          [
            70.90030010436853,
            30.86857856486919
          ],
          [
            71.99038105676658,
            32.5
          ],
          [
            72.8581929876693,
            34.25974851452365
          ],
          [
            73.48888739433602,
            36.11771432346219
          ],
          [
            73.87167292060715,
            38.04210711669923
          ],
          [
            74,
            40
          ],
          [
            74,
            96
          ],
          [
            26,
            96
          ],
          [
            26,
            40
          ],
          [
            26,
            40
          ],
          [
            26.128327079392847,
            38.04210711669923
          ],
          [
            26.511112605663975,
            36.11771432346219
          ],
          [
            27.1418070123307,
            34.25974851452365
          ],
          [
            28.00961894323342,
            32.5
          ],
          [
            29.099699895631474,
            30.86857856486919
          ],
          [
            30.393398282201787,
            29.393398282201787
          ],
          [
            31.86857856486919,
            28.099699895631474
          ],
          [
            33.5,
            27.00961894323342
          ],
          [
            35.25974851452365,
            26.1418070123307
          ],
          [
            37.11771432346219,
            25.511112605663975
          ],
          [
            39.04210711669923,
            25.128327079392847
          ],
          [
            41,
            25
          ]
        ]
      ]
    },
    "deposito": {
      "nombre": "un depósito",
      "anillos": [
        [
          [
            68,
            12
          ],
          [
            70.73126450822579,
            12.269006074354774
          ],
          [
            73.35756805311125,
            13.065686544841986
          ],
          [
            75.77798326227443,
            14.359425427764366
          ],
          [
            77.89949493661166,
            16.100505063388333
          ],
          [
            79.64057457223564,
            18.222016737725568
          ],
          [
            80.93431345515802,
            20.642431946888742
          ],
          [
            81.73099392564522,
            23.268735491774205
          ],
          [
            82,
            26
          ],
          [
            82,
            82
          ],
          [
            81.73099392564522,
            84.73126450822579
          ],
          [
            80.93431345515802,
            87.35756805311125
          ],
          [
            79.64057457223564,
            89.77798326227443
          ],
          [
            77.89949493661166,
            91.89949493661166
          ],
          [
            75.77798326227443,
            93.64057457223564
          ],
          [
            73.35756805311127,
            94.93431345515802
          ],
          [
            70.7312645082258,
            95.73099392564522
          ],
          [
            68,
            96
          ],
          [
            32,
            96
          ],
          [
            29.2687354917742,
            95.73099392564522
          ],
          [
            26.642431946888745,
            94.93431345515802
          ],
          [
            24.222016737725575,
            93.64057457223564
          ],
          [
            22.100505063388336,
            91.89949493661166
          ],
          [
            20.359425427764364,
            89.77798326227443
          ],
          [
            19.065686544841988,
            87.35756805311127
          ],
          [
            18.269006074354778,
            84.7312645082258
          ],
          [
            18,
            82
          ],
          [
            18,
            26.000000000000004
          ],
          [
            18.269006074354774,
            23.268735491774205
          ],
          [
            19.065686544841988,
            20.642431946888742
          ],
          [
            20.359425427764364,
            18.222016737725575
          ],
          [
            22.100505063388333,
            16.100505063388336
          ],
          [
            24.222016737725568,
            14.359425427764366
          ],
          [
            26.642431946888735,
            13.065686544841988
          ],
          [
            29.268735491774198,
            12.269006074354776
          ],
          [
            31.999999999999996,
            12
          ]
        ]
      ]
    },
    "copa": {
      "nombre": "una copa",
      "anillos": [
        [
          [
            26,
            4
          ],
          [
            74,
            4
          ],
          [
            73,
            18
          ],
          [
            70,
            30
          ],
          [
            64,
            40
          ],
          [
            56,
            47
          ],
          [
            50,
            49
          ],
          [
            44,
            47
          ],
          [
            36,
            40
          ],
          [
            30,
            30
          ],
          [
            27,
            18
          ]
        ],
        [
          [
            47,
            49
          ],
          [
            53,
            49
          ],
          [
            53,
            86
          ],
          [
            47,
            86
          ]
        ],
        [
          [
            30,
            86
          ],
          [
            70,
            86
          ],
          [
            70,
            94
          ],
          [
            30,
            94
          ]
        ]
      ]
    },
    "arbol": {
      "nombre": "un árbol",
      "anillos": [
        [
          [
            50,
            2
          ],
          [
            68,
            34
          ],
          [
            60,
            34
          ],
          [
            78,
            60
          ],
          [
            66,
            60
          ],
          [
            86,
            84
          ],
          [
            14,
            84
          ],
          [
            34,
            60
          ],
          [
            22,
            60
          ],
          [
            40,
            34
          ],
          [
            32,
            34
          ]
        ],
        [
          [
            44,
            84
          ],
          [
            56,
            84
          ],
          [
            56,
            98
          ],
          [
            44,
            98
          ]
        ]
      ]
    }
  },
  "layout": {
    "view": "shape-capacity",
    "margin": {
      "top": 28,
      "right": 20,
      "bottom": 20,
      "left": 20
    },
    "cellPadding": 8,
    "minimumCellWidth": 96,
    "minimumShapeHeight": 34,
    "textGap": 12,
    "nameLines": 2,
    "showCounts": true,
    "noteGap": 14,
    "noteOffset": 4
  },
  "marks": {
    "fill": "series.blue",
    "background": "surfaceAlt",
    "stroke": "textSecondary",
    "strokeWidth": 1,
    "strokeOpacity": 0.9,
    "wave": {
      "amplitude": 0.02,
      "crests": 2
    }
  },
  "labels": {
    "valueSize": 15,
    "valueFill": "textPrimary",
    "nameSize": 11,
    "nameFill": "textSecondary",
    "countSize": 10,
    "countFill": "textMuted",
    "noteFill": "textMuted",
    "decimals": 0
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Las habitaciones ya están vendidas; la plantilla, a medias",
      "subtitle": "Recursos comprometidos a seis semanas de temporada alta — cuatro hoteles, 1.290 habitaciones"
    },
    "footer": {
      "source": "Auditoría interna de capacidad, semana 24 — cifras ilustrativas con la forma de las de un grupo de cuatro hoteles",
      "notes": "Cada silueta se llena por ÁREA hasta la parte ya comprometida, así que la tinta que se ve es el porcentaje que se escribe debajo. Las unidades no son comparables entre recursos —camas, plazas, m³/día, botellas, personas—: lo comparable es la fracción de cada uno.",
      "alt": "Cinco recursos de un grupo hotelero, cada uno dibujado con su propia figura y relleno hasta la parte comprometida: habitaciones 92 % (1.184 de 1.290), parking 83 % (341 de 410), cupo de agua 79 % (268 de 340), bodega 76 % (8.740 de 11.500) y plantilla de sala 58 % (74 de 128). Todo lo que se vende está por encima del 76 %; lo único que baja del 60 % es la gente que tiene que servirlo."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "output": {
    "filename": "shapefillgauge",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 960,
      "height": 540
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
