What version of JMP did this work in?
try adding a num(...) to convert the "2" to 2 .
:width == num(byGroup3[kk])
I don't know why or if this changed, or what changed. bygroup3 holds {"2", "3"} but column :width holds numbers 1 and 2.
With that change you'll get a lot of graphs, doesn't look quite like your example.

Craige