{
  "version": "xarts.weighted-tree/1",
  "family": "weighted-tree",
  "provenance": {
    "legacyId": "sunburst"
  },
  "data": {
    "rows": [
      {
        "id": "root",
        "parentId": null,
        "label": "TechCorp Global",
        "value": null
      },
      {
        "id": "group-0",
        "parentId": "root",
        "label": "Engineering",
        "value": null
      },
      {
        "id": "leaf-0",
        "parentId": "group-0",
        "label": "Frontend Team",
        "value": 45
      },
      {
        "id": "leaf-1",
        "parentId": "group-0",
        "label": "Backend Team",
        "value": 52
      },
      {
        "id": "leaf-2",
        "parentId": "group-0",
        "label": "Mobile Team",
        "value": 38
      },
      {
        "id": "group-1",
        "parentId": "root",
        "label": "Product",
        "value": null
      },
      {
        "id": "leaf-3",
        "parentId": "group-1",
        "label": "Design Team",
        "value": 28
      },
      {
        "id": "leaf-4",
        "parentId": "group-1",
        "label": "Research Team",
        "value": 22
      },
      {
        "id": "leaf-5",
        "parentId": "group-1",
        "label": "Strategy Team",
        "value": 18
      },
      {
        "id": "group-2",
        "parentId": "root",
        "label": "Sales",
        "value": null
      },
      {
        "id": "leaf-6",
        "parentId": "group-2",
        "label": "Enterprise Team",
        "value": 34
      },
      {
        "id": "leaf-7",
        "parentId": "group-2",
        "label": "SMB Team",
        "value": 41
      },
      {
        "id": "group-3",
        "parentId": "root",
        "label": "Operations",
        "value": null
      },
      {
        "id": "leaf-8",
        "parentId": "group-3",
        "label": "HR Team",
        "value": 25
      },
      {
        "id": "leaf-9",
        "parentId": "group-3",
        "label": "Finance Team",
        "value": 20
      },
      {
        "id": "leaf-10",
        "parentId": "group-3",
        "label": "Legal Team",
        "value": 15
      }
    ],
    "measure": {
      "unit": "personas",
      "meaning": "additive"
    }
  },
  "encoding": {
    "id": "id",
    "parent": "parentId",
    "label": "label",
    "value": "value"
  },
  "calculation": {
    "roots": "single",
    "rootLabel": "TechCorp Global",
    "parentValues": "verify",
    "tolerance": 0.000001,
    "order": "value-desc",
    "zeroWeights": "retain-zero-area"
  },
  "layout": {
    "view": "sunburst",
    "inset": 0,
    "gap": 0,
    "maxDepth": 32
  },
  "marks": {
    "colors": {
      "Engineering": "blue",
      "Product": "teal",
      "Sales": "green",
      "Operations": "amber"
    },
    "fallback": "violet",
    "colorLevel": "top-level",
    "opacity": 0.85,
    "depthOpacity": [
      1,
      0.9,
      0.7,
      0.5
    ],
    "radius": 3,
    "stroke": "surface",
    "strokeWidth": 2,
    "containers": {
      "fill": "none",
      "stroke": "border",
      "width": 1,
      "dash": "3,3"
    }
  },
  "labels": {
    "visible": true,
    "fontSize": 12,
    "fontWeight": 600,
    "color": "surface",
    "padding": 4,
    "minWidth": 40,
    "minHeight": 24,
    "minRadius": 20,
    "center": {
      "visible": true,
      "subtitle": "Organization",
      "titleSize": 16,
      "subtitleSize": 12
    }
  },
  "legend": {
    "visible": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Organization Structure",
      "subtitle": "Hierarchical company structure"
    },
    "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": "sunburst",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
