adapting the bubble chart example