I\'d like to automatically place 100-200 bubble labels so that the following requirements are met:
How about
label.substring(0, Math.sqrt(bubbleValueOrRadius))
I found this in one of protovis.js examples.