{
  "version": "xarts.polar-sectors/1",
  "family": "polar-sectors",
  "provenance": {
    "legacyId": "pie"
  },
  "data": {
    "rows": [
      {
        "Category": "Salaries",
        "Amount ($)": 450000
      },
      {
        "Category": "Infrastructure",
        "Amount ($)": 180000
      },
      {
        "Category": "Marketing",
        "Amount ($)": 120000
      },
      {
        "Category": "R&D",
        "Amount ($)": 95000
      },
      {
        "Category": "Operations",
        "Amount ($)": 85000
      },
      {
        "Category": "Other",
        "Amount ($)": 70000
      }
    ]
  },
  "encoding": {
    "category": "Category",
    "value": "Amount ($)",
    "unit": "USD"
  },
  "calculation": {
    "channel": "angle",
    "input": "amounts",
    "percentTolerance": 0.05,
    "duplicates": "reject",
    "order": "value-desc",
    "normalization": "sum"
  },
  "layout": {
    "startAngle": 0,
    "clockwise": true,
    "innerRadius": {
      "unit": "ratio",
      "value": 0
    }
  },
  "marks": {
    "opacity": 1,
    "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.01,
    "cornerRadius": 0,
    "hoverExpansion": 0,
    "colors": [
      "series.blue",
      "series.teal",
      "series.emerald",
      "series.amber",
      "series.violet",
      "series.orange"
    ],
    "label": {
      "fill": "textPrimary",
      "fontWeight": 600
    },
    "legendPosition": "right",
    "toggle": true,
    "center": {
      "scope": "all-data",
      "subtitle": "",
      "format": "number",
      "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": "none"
  },
  "summary": {
    "visible": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Expense Breakdown",
      "subtitle": "Company expenses by category"
    },
    "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": "pie",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
