{
  "profile": {
    "view": "bridge",
    "margin": {
      "top": 64,
      "right": 40,
      "bottom": 96,
      "left": 104
    },
    "domain": {
      "padding": 0.08,
      "mode": "upper",
      "nice": true
    },
    "axis": {
      "measuredStepBudget": true,
      "additionalGap": 4,
      "exportMeasurement": "glyph-advances",
      "labelOverflow": 0,
      "inkPadding": 16,
      "marginMethod": "smart",
      "frame": "smart",
      "categoryBudget": "all",
      "rotation": 0
    },
    "colors": {
      "positive": "emerald",
      "negative": "red",
      "total": "blue"
    },
    "connector": {
      "visible": true,
      "color": "textMuted",
      "width": 1,
      "dash": "3,3"
    },
    "format": {
      "kind": "fixed",
      "threshold": 1000,
      "largeSuffix": "K",
      "largeDecimals": 0,
      "largeTrim": true,
      "axisDecimals": 1
    },
    "label": {
      "positiveOffset": 8,
      "negativeOffset": 18,
      "fontWeight": 500,
      "secondaryOffsetPositive": -24,
      "secondaryOffsetNegative": 24,
      "secondarySize": 13,
      "secondaryDecimals": 1,
      "secondaryParentheses": true,
      "secondaryColor": "textMuted",
      "showClosingPercent": false,
      "zeroPercent": "hide"
    },
    "legend": {
      "kind": "none",
      "wrapper": "normal",
      "height": 36,
      "rightOffset": 280,
      "y": -10,
      "itemStep": 80,
      "fontSize": 13,
      "swatchSize": 10,
      "swatchRadius": 2,
      "labelGap": 4,
      "items": [
        {
          "key": "positive",
          "label": "Increase",
          "color": "emerald"
        },
        {
          "key": "negative",
          "label": "Decrease",
          "color": "red"
        },
        {
          "key": "total",
          "label": "Total",
          "color": "blue"
        }
      ]
    }
  },
  "version": "xarts.waterfall/1",
  "family": "waterfall",
  "provenance": {
    "legacyId": "revenuebridge"
  },
  "data": {
    "unit": "M$",
    "rows": [
      {
        "step": "Prior Year Revenue",
        "value": 850,
        "kind": "opening"
      },
      {
        "step": "Price Effect",
        "value": 45,
        "kind": "delta"
      },
      {
        "step": "Volume Effect",
        "value": 62,
        "kind": "delta"
      },
      {
        "step": "Mix Effect",
        "value": -18,
        "kind": "delta"
      },
      {
        "step": "FX Impact",
        "value": -32,
        "kind": "delta"
      },
      {
        "step": "New Products",
        "value": 55,
        "kind": "delta"
      },
      {
        "step": "Discontinued",
        "value": -27,
        "kind": "delta"
      },
      {
        "step": "Current Year Revenue",
        "value": 935,
        "kind": "total"
      }
    ]
  },
  "encoding": {
    "step": "step",
    "value": "value",
    "kind": "kind"
  },
  "calculation": {
    "type": "bridge",
    "totals": "verify-or-compute",
    "stack": "diverging",
    "tolerance": 0
  },
  "layout": {
    "orientation": "vertical",
    "bandPadding": 0.2
  },
  "marks": {
    "colorBy": "sign",
    "colorMap": {},
    "radius": 0,
    "opacity": 0.9
  },
  "labels": {
    "secondary": "net-change-percent",
    "visible": true,
    "segments": false,
    "decimals": 1,
    "divisor": 1,
    "prefix": "$",
    "suffix": "M",
    "fontSize": 13
  },
  "axes": {
    "valueTitle": "",
    "grid": true,
    "ticks": 5
  },
  "groups": {
    "visible": false
  },
  "legend": {
    "visible": false
  },
  "summary": {
    "metric": "none",
    "label": ""
  },
  "annotations": [],
  "document": {
    "exportTextMeasurement": "glyph-advances",
    "header": {
      "title": "Revenue Bridge Analysis",
      "subtitle": "Decomposition of revenue change by price, volume and mix effects"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 32,
      "topPadding": 24,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "output": {
    "filename": "revenuebridge",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 1200,
      "height": 760
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  }
}
