Check out the function wp_generate_tag_cloud()
in wp-includes/category-template.php
. It’s not database-specific, you would just query your table and format the data for wp_generate_tag_cloud()
. I’m unable to post sample code tonight, but I’ll check back on this question tomorrow and post an example if no one else has done so.