Skip to content
Plotly templates

P&L Waterfall

Revenue → COGS → OpEx → operating income waterfall.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [{
    "type": "waterfall",
    "orientation": "v",
    "measure": ["absolute","relative","relative","relative","relative","total"],
    "x": ["Revenue","COGS","R&D","S&M","G&A","Operating income"],
    "y": [1200, -480, -210, -180, -120, 0],
    "text": ["$1,200M","-$480M","-$210M","-$180M","-$120M","$210M"],
    "textposition": "outside",
    "connector": {"line": {"color": "#94a3b8"}},
    "increasing": {"marker":{"color":"#16a34a"}},
    "decreasing": {"marker":{"color":"#dc2626"}},
    "totals": {"marker":{"color":"#3666ff"}}
  }],
  "layout": { "title":"Annual P&L waterfall ($M)", "yaxis":{"title":"$M"} }
}