{
  "version": "xarts.set-intersections/1",
  "family": "set-intersections",
  "operation": "exclusive-region-counts",
  "provenance": {
    "legacyId": "venn"
  },
  "data": {
    "rows": [
      {
        "id": "A",
        "label": "Email only",
        "sets": [
          "A"
        ],
        "count": 245
      },
      {
        "id": "B",
        "label": "Social only",
        "sets": [
          "B"
        ],
        "count": 312
      },
      {
        "id": "C",
        "label": "Organic only",
        "sets": [
          "C"
        ],
        "count": 198
      },
      {
        "id": "AB",
        "label": "Email & Social",
        "sets": [
          "A",
          "B"
        ],
        "count": 87
      },
      {
        "id": "BC",
        "label": "Social & Organic",
        "sets": [
          "B",
          "C"
        ],
        "count": 64
      },
      {
        "id": "AC",
        "label": "Email & Organic",
        "sets": [
          "A",
          "C"
        ],
        "count": 53
      },
      {
        "id": "ABC",
        "label": "All three",
        "sets": [
          "A",
          "B",
          "C"
        ],
        "count": 31
      }
    ]
  },
  "encoding": {
    "sets": [
      {
        "id": "A",
        "label": "Email"
      },
      {
        "id": "B",
        "label": "Social"
      },
      {
        "id": "C",
        "label": "Organic"
      }
    ],
    "region": "id",
    "membership": "sets",
    "count": "count",
    "label": "label",
    "unit": "users"
  },
  "calculation": {
    "intersection": "exclusive",
    "missing": "reject",
    "areaEncoding": "schematic-not-proportional"
  },
  "layout": {
    "view": "overlapping-circles",
    "margin": {
      "top": 24,
      "right": 24,
      "bottom": 24,
      "left": 24
    },
    "radius": 0.3,
    "circles": [
      {
        "set": "A",
        "x": 0.5,
        "y": 0.3845,
        "color": "blue"
      },
      {
        "set": "B",
        "x": 0.3571058083755676,
        "y": 0.55775,
        "color": "teal"
      },
      {
        "set": "C",
        "x": 0.6428941916244324,
        "y": 0.55775,
        "color": "emerald"
      }
    ],
    "labelPlacement": "region-interior",
    "searchResolution": 120,
    "setLabelGap": 10
  },
  "marks": {
    "fillOpacity": 0.3,
    "strokeWidth": 2,
    "strokeOpacity": 0.6,
    "blend": "multiply"
  },
  "labels": {
    "sets": {
      "fontSize": 13,
      "fontWeight": 600,
      "color": "textSecondary"
    },
    "counts": {
      "fontSize": 12,
      "fontWeight": 600,
      "color": "textPrimary"
    },
    "visible": true
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Venn Diagram",
      "subtitle": "Users by engagement channel: 31 use email, social and organic"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "output": {
    "filename": "venn",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
