The current output (without the sub) is that each tag is printed out but the font size is determined by the count so I end up with font sizes of 100+ pixels in places. What I'm trying to do is to output the values within the font range (currently 10 to 36).
If I set useLogCurve to 0, then all the results are printed in out a uniformly small print size. Actually, having commented out the first foreach loop, it is outputting the results within a range 23 to 27 pixels (not surprising as the values are fairly similar) although the results are being printed right across the screen without wrapping (but that's an markup and CSS issue). Thanks.