PAD Charts
All charts/Bars

Sales per month

Columns from a zero baseline - the data CSV, between the tags.

1 The chart tag and its data bars/sales.pad pad
{chart 'bar', label='month', value='amount', title='Sales per month', width=640, height=340}
  month,amount
  Jan,12400
  Feb,9500
  Mar,14300
  Apr,16100
  May,15200
  Jun,18750
{/chart}
2 The result inline SVG · no JavaScript
Sales per month Jan: 12,400; Feb: 9,500; Mar: 14,300; Apr: 16,100; May: 15,200; Jun: 18,750 0 5,000 10,000 15,000 20,000 Jan Feb Mar Apr May Jun Jan: 12,400 Feb: 9,500 Mar: 14,300 Apr: 16,100 May: 15,200 Jun: 18,750