---
title: Waterfall chart
styles: [scientific]
---

```chart
type: waterfall
title: Profit is three quarters of revenue after a grant
subtitle: Thousands of dollars; each bar starts where the last one ended
data:
  inline:
    - step: Sales
      amount: 120
      kind: start
    - step: Costs
      amount: -45.5
    - step: Tax
      amount: -14.5
    - step: Grant
      amount: 30
    - step: Profit
      amount: 90
      kind: total
encoding: {x: step, y: amount, measure: kind}
axes:
  y: {label: Amount, unit: k}
```
