{
  "orthogonal": {
    "margin": {
      "top": 24,
      "right": 48,
      "bottom": 47,
      "left": 120
    },
    "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": ""
    },
    "measureAxis": false,
    "axisInkPadding": 12,
    "leftLabelOverflow": 0,
    "axisProportionalNumbers": true,
    "domain": {
      "padding": 0.1,
      "nice": true,
      "boundedPercent": false
    },
    "format": {
      "values": "magnitude",
      "axis": "value",
      "compactDecimals": 0
    },
    "colors": {
      "primary": "#112c47",
      "hover": "#1f6f82",
      "stem": "#4b8596",
      "series": {}
    },
    "stemOpacity": 0.8,
    "labelOffset": 7,
    "labelFit": "ranked",
    "percentLabels": {
      "minimumSize": 26,
      "characterWidth": 9,
      "color": "auto",
      "suffix": "%"
    },
    "legend": {
      "position": "right"
    }
  },
  "version": "xarts.bars/1",
  "family": "bars",
  "provenance": {
    "legacyId": "horizontalbar"
  },
  "data": {
    "rows": [
      {
        "Label": "Grupo 1",
        "Value": 38
      },
      {
        "Label": "Grupo 2",
        "Value": 67
      },
      {
        "Label": "Grupo 3",
        "Value": 52
      }
    ]
  },
  "encoding": {
    "category": "Label",
    "value": "Value"
  },
  "calculation": {
    "normalize": "none",
    "negative": "diverge",
    "duplicates": "reject"
  },
  "layout": {
    "orientation": "horizontal",
    "arrangement": "single",
    "seriesOrder": [],
    "bandPadding": 0.3,
    "groupPadding": 0.14
  },
  "marks": {
    "colorMap": {},
    "radius": 0,
    "opacity": 0.9,
    "colorBy": "series",
    "geometry": "bar"
  },
  "labels": {
    "visible": true,
    "segments": false,
    "decimals": 0,
    "divisor": 1,
    "prefix": "",
    "suffix": "",
    "fontSize": 13,
    "totals": false,
    "totalsValue": "source"
  },
  "axes": {
    "valueTitle": "",
    "grid": true,
    "ticks": 5
  },
  "legend": {
    "visible": false
  },
  "target": {
    "visible": false,
    "label": "Budget"
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Comparación de tres grupos ficticios",
      "subtitle": "Datos generados para demostrar la gramática del gráfico",
      "source": "Ejemplo sintético · sin datos de clientes"
    },
    "footer": {
      "source": "Ejemplo sintético generado para la biblioteca",
      "notes": "Valores y entidades ficticios. No representan clientes, planes ni resultados reales."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 880,
      "height": 320
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "horizontalbar-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
