Does anyone know if the code for this is available somewhere?
See my blog post on Graphs with Axis-Aligned Statistics Tables. The second example has a stat table (using a BLOCKPLOT) outside the graph in a separate cell of a LAYOUT LATTICE. The borders have been turned off by setting WALLDISPLAY=none. The full code is linked from that page.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.