{
  "version": "xarts.polar-sectors/1",
  "family": "polar-sectors",
  "provenance": {
    "legacyId": "donut"
  },
  "data": {
    "rows": [
      {
        "Label": "Chrome",
        "Value": 64.7
      },
      {
        "Label": "Safari",
        "Value": 18.6
      },
      {
        "Label": "Firefox",
        "Value": 3.2
      },
      {
        "Label": "Edge",
        "Value": 5.1
      },
      {
        "Label": "Samsung",
        "Value": 2.8
      },
      {
        "Label": "Other",
        "Value": 5.6
      }
    ]
  },
  "encoding": {
    "category": "Label",
    "value": "Value",
    "unit": "%"
  },
  "calculation": {
    "channel": "angle",
    "input": "percent",
    "percentTolerance": 0.05,
    "duplicates": "reject",
    "order": "value-desc",
    "normalization": "sum"
  },
  "layout": {
    "startAngle": 0,
    "clockwise": true,
    "innerRadius": {
      "unit": "ratio",
      "value": 0.58
    }
  },
  "marks": {
    "opacity": 0.9,
    "color": "category",
    "strokeWidth": 0
  },
  "labels": {
    "visible": true,
    "metric": "share",
    "minimumShare": 5,
    "fontSize": 12,
    "decimals": 0
  },
  "axes": {
    "guides": false,
    "ticks": 4
  },
  "profile": {
    "view": "angular-composition",
    "padding": 20,
    "padAngle": 0.015,
    "cornerRadius": 0,
    "hoverExpansion": 6,
    "colors": [
      "series.blue",
      "series.rose",
      "series.cyan",
      "series.red",
      "series.lagoon",
      "series.orange"
    ],
    "label": {
      "fill": "surface",
      "fontWeight": 600
    },
    "legendPosition": "right",
    "toggle": true,
    "center": {
      "scope": "all-data",
      "subtitle": "Total",
      "format": "percent",
      "divisor": 1,
      "decimals": 0,
      "suffix": "",
      "label": {
        "fill": "textPrimary",
        "fontSize": 22,
        "fontWeight": 700
      },
      "subLabel": {
        "fill": "textMuted",
        "fontSize": 11,
        "fontWeight": 400
      }
    }
  },
  "legend": {
    "visible": true,
    "details": "category"
  },
  "center": {
    "kind": "total"
  },
  "summary": {
    "visible": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Browser Market Share",
      "subtitle": "Chrome holds 64.7% of the browser market"
    },
    "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": "donut",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
