{
  "version": "xarts.unit-allocation/1",
  "family": "unit-allocation",
  "provenance": {
    "legacyId": "quantile-dot"
  },
  "document": {
    "exportTextMeasurement": "shaped",
    "textOverflow": "preserve",
    "header": {
      "title": "Treatment Efficacy",
      "subtitle": "Probability out of 100 for each treatment"
    },
    "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": "quantile-dot",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "data": {
    "kind": "independent-proportions",
    "unit": "probability",
    "rows": [
      {
        "id": "scenario-1",
        "label": "Treatment A",
        "count": 73,
        "denominator": 100
      },
      {
        "id": "scenario-2",
        "label": "Treatment B",
        "count": 58,
        "denominator": 100
      },
      {
        "id": "scenario-3",
        "label": "Placebo",
        "count": 31,
        "denominator": 100
      }
    ]
  },
  "encoding": {
    "id": "id",
    "label": "label",
    "count": "count",
    "denominator": "denominator"
  },
  "allocation": {
    "mode": "row-proportion",
    "units": 100,
    "rounding": "nearest"
  },
  "layout": {
    "view": "probability-grids",
    "columns": 10,
    "fillOrder": "bottom-left",
    "margin": {
      "top": 16,
      "right": 16,
      "bottom": 16,
      "left": 16
    },
    "cellGap": 3,
    "groupGap": 32,
    "labelHeight": 32,
    "valueHeight": 40,
    "subtitleHeight": 24,
    "valueOffset": 8,
    "subtitleOffset": 8
  },
  "marks": {
    "shape": "circle",
    "filledColor": "blue",
    "emptyColor": "border",
    "emptyOpacity": 0.35
  },
  "labels": {
    "title": {
      "fontSize": 14,
      "fontWeight": 600,
      "color": "textPrimary"
    },
    "probability": {
      "fontSize": 28,
      "fontWeight": 700,
      "color": "blue"
    },
    "subtitle": {
      "fontSize": 11,
      "fontWeight": 400,
      "color": "textMuted"
    },
    "probabilityDecimals": 0,
    "subtitleTemplate": "{count} out of {denominator}"
  },
  "annotations": []
}
