{
  "version": "xarts.metric-panels/1",
  "family": "metric-panels",
  "operation": "bounded-measures",
  "provenance": {
    "legacyId": "gauge"
  },
  "data": {
    "rows": [
      {
        "id": "measure",
        "label": "Performance Score",
        "value": 72,
        "capacity": 100,
        "unit": "puntos"
      }
    ]
  },
  "calculation": {
    "denominator": "row-capacity",
    "bounds": "reject",
    "missing": "reject",
    "quantization": "continuous"
  },
  "layout": {
    "view": "dial",
    "pathDigits": 3,
    "innerRatio": 0.72,
    "startAngle": -135,
    "endAngle": 135,
    "edge": 16,
    "tickLength": 8,
    "tickGap": 6,
    "valueGap": 10,
    "subtitleGap": 6,
    "needleInset": 10
  },
  "marks": {
    "fill": "series.blue",
    "background": "borderLight",
    "needle": {
      "fill": "textPrimary",
      "width": 2,
      "hubRadius": 6
    },
    "zones": [
      {
        "id": "poor",
        "label": "Poor",
        "from": 0,
        "to": 0.4,
        "fill": "series.red"
      },
      {
        "id": "fair",
        "label": "Fair",
        "from": 0.4,
        "to": 0.7,
        "fill": "series.amber"
      },
      {
        "id": "good",
        "label": "Good",
        "from": 0.7,
        "to": 1,
        "fill": "series.emerald"
      }
    ]
  },
  "labels": {
    "value": {
      "fill": "textPrimary",
      "fontSize": 32,
      "fontWeight": 700
    },
    "subtitle": {
      "fill": "textSecondary",
      "fontSize": 12,
      "fontWeight": 400
    },
    "showUnit": false,
    "decimals": 0,
    "trim": true,
    "subtitleText": {
      "source": "row-label"
    }
  },
  "axes": {
    "ticks": [
      0,
      0.25,
      0.5,
      0.75,
      1
    ],
    "fontSize": 11,
    "fill": "#3d3d3d",
    "stroke": "textMuted",
    "width": 1
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Performance Score",
      "subtitle": "Current score of 72 out of 100"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "output": {
    "filename": "gauge",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
