When you have a breakdown mapping script that collects a range of values, you can define
a bucket group to divide those values into discrete buckets.
After you create the bucket group, you create a breakdown source based on the bucket group.
Then you create a breakdown that uses that breakdown source. When you create the breakdown
mapping for the breakdown, define or select a script for the mapping. The breakdown groups the
results that the script returns into the buckets of the bucket group. For an example, see Example: Script mapping.
You can write a bucket group for an existing script, or you can first write the bucket group
and then write the script. Both must exist before you can create the breakdown.
Note: The same script can be used with any number of bucket groups. Also, in principle any scripts
that returned the same kind of data could be used with the same bucket group.