all, say I have the following simplified table-

number frequency
1 occurs 4 times
2 occurs 8 times
2.4 occurs 3 times
3.3 occurs 6 times
4 occurs 2 times
4.2 occurs 12 times
5 occurs 3 times

how can I generate an output such that 1 will occupy 4 consecutive cells (horizontal or vertical), 2 will occupy 8 cells, 2.4 3 cells etc?

thanks, cathal