Hi,

I am quite new to stata and want to create a bubble chart for visualizing frequencies within a group or value characteristic. I have searched the forum a bit and learned that bubble charts can get messy very quickly, but I still think they might be useful for my case.

Here is an example of what I imagine it could look like:
Array


My Inputs are slightly different:
  • y is a continous variable
  • x is categorical variable (likert scale, 0-10)
  • bubbles should indicate the share of participants for the values of x per level of y

I experimented a bit with a twoway scatter with markers, but I have trouble to connect the size of the bubbles to the the frequency of the x values. If I use x as the frequency weight the bubbles just grow with x but not with the frequency of x per level of y, which I expected intuitively and would be my desired result. What am I missing here?

Best,
Jet