PAD Charts
All charts/Bars

Profit and loss

Negative values hang below the baseline.

1 The data _data/profit.json json
[
  { "quarter": "Q1 '23", "result":  42 },
  { "quarter": "Q2 '23", "result":  18 },
  { "quarter": "Q3 '23", "result": -25 },
  { "quarter": "Q4 '23", "result": -11 },
  { "quarter": "Q1 '24", "result":  15 },
  { "quarter": "Q2 '24", "result":  37 },
  { "quarter": "Q3 '24", "result":  56 }
]
2 The chart tag bars/profit.pad pad
{chart 'column', data='profit', label='quarter', value='result', title='Result per quarter, in thousands', width=640, height=340}
3 The result inline SVG · no JavaScript
Result per quarter, in thousands Q1 '23: 42; Q2 '23: 18; Q3 '23: -25; Q4 '23: -11; Q1 '24: 15; Q2 '24: 37; Q3 '24: 56 -40 -20 0 20 40 60 Q1 '23 Q2 '23 Q3 '23 Q4 '23 Q1 '24 Q2 '24 Q3 '24 Q1 '23: 42 Q2 '23: 18 Q3 '23: -25 Q4 '23: -11 Q1 '24: 15 Q2 '24: 37 Q3 '24: 56