{
  "version": "xarts.weighted-tree/1",
  "family": "weighted-tree",
  "provenance": {
    "legacyId": "icicle"
  },
  "data": {
    "rows": [
      {
        "id": "n0",
        "parentId": null,
        "label": "Company Budget",
        "value": null
      },
      {
        "id": "n1",
        "parentId": "n0",
        "label": "Engineering",
        "value": null
      },
      {
        "id": "n2",
        "parentId": "n1",
        "label": "Frontend",
        "value": 800000
      },
      {
        "id": "n3",
        "parentId": "n1",
        "label": "Backend",
        "value": 1200000
      },
      {
        "id": "n4",
        "parentId": "n1",
        "label": "DevOps",
        "value": 500000
      },
      {
        "id": "n5",
        "parentId": "n1",
        "label": "QA",
        "value": 400000
      },
      {
        "id": "n6",
        "parentId": "n0",
        "label": "Sales",
        "value": null
      },
      {
        "id": "n7",
        "parentId": "n6",
        "label": "Enterprise",
        "value": 1500000
      },
      {
        "id": "n8",
        "parentId": "n6",
        "label": "SMB",
        "value": 700000
      },
      {
        "id": "n9",
        "parentId": "n6",
        "label": "Partnerships",
        "value": 300000
      },
      {
        "id": "n10",
        "parentId": "n0",
        "label": "Marketing",
        "value": null
      },
      {
        "id": "n11",
        "parentId": "n10",
        "label": "Digital",
        "value": 600000
      },
      {
        "id": "n12",
        "parentId": "n10",
        "label": "Content",
        "value": 350000
      },
      {
        "id": "n13",
        "parentId": "n10",
        "label": "Events",
        "value": 250000
      },
      {
        "id": "n14",
        "parentId": "n10",
        "label": "Brand",
        "value": 200000
      },
      {
        "id": "n15",
        "parentId": "n0",
        "label": "Operations",
        "value": null
      },
      {
        "id": "n16",
        "parentId": "n15",
        "label": "HR",
        "value": 400000
      },
      {
        "id": "n17",
        "parentId": "n15",
        "label": "Finance",
        "value": 300000
      },
      {
        "id": "n18",
        "parentId": "n15",
        "label": "Legal",
        "value": 200000
      },
      {
        "id": "n19",
        "parentId": "n15",
        "label": "Facilities",
        "value": 350000
      }
    ],
    "measure": {
      "unit": "$",
      "meaning": "additive"
    }
  },
  "encoding": {
    "id": "id",
    "parent": "parentId",
    "label": "label",
    "value": "value"
  },
  "calculation": {
    "roots": "single",
    "rootLabel": "Tech Stack",
    "parentValues": "verify",
    "tolerance": 0.000001,
    "order": "value-desc",
    "zeroWeights": "retain-zero-area"
  },
  "layout": {
    "view": "icicle",
    "inset": 0,
    "gap": 2,
    "maxDepth": 32
  },
  "marks": {
    "colors": {
      "Engineering": "blue",
      "Sales": "teal",
      "Marketing": "emerald",
      "Operations": "amber"
    },
    "fallback": "violet",
    "colorLevel": "top-level",
    "opacity": 0.7,
    "depthOpacity": [
      0.6,
      0.85,
      0.7
    ],
    "radius": 0,
    "stroke": "surface",
    "strokeWidth": 1,
    "containers": {
      "fill": "none",
      "stroke": "border",
      "width": 1,
      "dash": "3,3"
    }
  },
  "labels": {
    "visible": true,
    "fontSize": 12,
    "fontWeight": 600,
    "color": "textPrimary",
    "padding": 4,
    "minWidth": 50,
    "minHeight": 0,
    "minRadius": 20,
    "center": {
      "visible": false,
      "subtitle": "Organization",
      "titleSize": 16,
      "subtitleSize": 12
    }
  },
  "icicle": {
    "showRoot": true,
    "minimumCellSide": 1,
    "rootColor": "border",
    "valueLabel": {
      "visible": true,
      "fontSize": 11,
      "fontWeight": 400,
      "color": "textSecondary",
      "prefix": "$",
      "suffix": ""
    }
  },
  "indented": {
    "exportMeasurement": "glyph-advances",
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 20,
      "left": 20
    },
    "axis": {
      "stroke": "transparent",
      "tickStroke": "transparent",
      "tickLength": 0,
      "labelColor": "#2a2a2a",
      "tickLabelColor": "#3d3d3d",
      "labelFontSize": 14,
      "tickLabelFontSize": 13,
      "labelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "tickLabelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "baselineStroke": "#3d3d3d",
      "baselineWidth": 1.5,
      "titleColor": "#2a2a2a",
      "titleFontSize": 13,
      "titleFontWeight": 700
    },
    "arbol": {
      "sangria": 16,
      "bandPadding": 0.3,
      "borderRadius": 0,
      "rampaProfundidad": [
        "#014d64",
        "#296074",
        "#457285",
        "#5f8696",
        "#7a9aa7"
      ],
      "tintaTallo": "#6a6458",
      "grosorTallo": 1,
      "tintaRama": "#0d0d0d",
      "tintaHoja": "#2a2a2a",
      "tintaCifra": "#0d0d0d",
      "tintaNota": "#6a6458",
      "cuerpoNombre": 11,
      "cuerpoCifra": 11,
      "pesoRama": 600,
      "columnaNombreMaxima": 320,
      "columnaCifraMaxima": 140,
      "barraMinima": 80,
      "prefijo": "",
      "sufijo": " €",
      "rotuloValor": "€/mes"
    },
    "rootBar": "auto",
    "connectors": true,
    "values": true,
    "summary": true
  },
  "legend": {
    "visible": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Budget Breakdown",
      "subtitle": "Hierarchical budget allocation"
    },
    "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": "icicle",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
