It is not the most sophisticated solution, but it is also not the worst. This is the code: data heart; input beat $ happiness love; cards; beat1 2 9 beat2 2 10 beat3 3 7 beat4 3 8 beat5 3 11 beat6 4 5 beat7 4 6 beat8 4 11 beat9 5 4 beat10 5 10 beat11 6 3 beat12 6 9 beat13 7 2 beat14 7 9 beat15 8 3 beat16 8 9 beat17 9 4 beat18 9 10 beat19 10 5 beat20 10 6 beat21 10 11 beat22 11 7 beat23 11 8 beat24 11 11 beat25 12 9 beat26 12 10 ; run; proc sgplot data=heart; scatter y=love x=happiness; run; And this is the result:
... View more