Data visualization with SAS programming

Bubble Plots (size of bubbles)

Reply
N/A
Posts: 0

Bubble Plots (size of bubbles)

I'm wondering how to ensure that the size of bubbles are not only proportional to each other within a figure, but across figures.

Right now I have several figures, and for example, one figure where a bubble represents 50 observations is smaller than a bubble in another figure that represents 30 observations.

Does anyone know of a way to address this?

Thank you in advance!
SAS Employee
Posts: 980

Re: Bubble Plots (size of bubbles)

I'm not sure that "proc gplot" bubble charts have a way to guarantee that the bubbles are scaled the same in different charts.

When I need to have total control over bubble sizes (whether in gplot or gmap), I use annotate's "pie" function. An annotated pie, with style='solid' is a solid bubble, and style='pempty' is an empty circle. I "normalize" my data values against a maximum, and then use those values to control the 'size' (radius) of the pies.
Valued Guide
Posts: 2,177

Re: Bubble Plots (size of bubbles)

have you tried the UNIFORM option? aaaaah : that : is: just : for : scaling : indexes
Message was edited by: Peter.C
Ask a Question
Discussion stats
  • 2 replies
  • 163 views
  • 0 likes
  • 3 in conversation