This programme looks at a means of producing a weighted list, both in the form of a 'Tag Cloud', where the information is ordered alphabetically and weight is given by visual styling and as a 'Tag Wedge' where a styled ordered list is used to convey the information in a more semantic manner. To see how this works, you an look at the code listing for this programme.
To make the data used more realistic, two items (apples and oranges), have been assigned the same count value. This means that relationships in the ordered list are not absolute - apples occur no more often than oranges - they only appear first due to a secondary, alphabetical sort of the array.
Information on count values and positions within the list have been added to the link titles.
The above example gives a "Top Ten" style of output, which the author regards as being the most accessible.
The following example then adds visual weight by changing font sizes.
Below, we remove the usual visual formatting of our list, producing something more like a Tag Cloud, but still in descending order of sequence.
We now present the tags in alphabetical order, with weight being assigned purely visually, by font size. This is the least accessible result, although the weight/sequence has been added to the link title.
Comments on this may be left against the relevant blog post.