This page display a tag cloud control and lets you set some of its properties. You can see the code here:
This is the tag cloud: