XY: Horizontal Combined

Horizontal chart with both bars and a trend line.

xy-horizontal-combined.mmd
xychart-beta horizontal
    title "Budget vs Actual"
    x-axis [Eng, Sales, Marketing, Product, Ops, HR, Finance, Legal]
    bar [500, 350, 250, 200, 150, 120, 100, 80]
    line [480, 380, 230, 180, 160, 110, 95, 75]
Output
XY chart, Zombie Mermaid 100 150 200 250 300 350 400 450 500 Eng Sales Marketing Product Ops HR Finance Legal Budget vs Actual Bar 1 Line 1

More XY chart examples