Hi,
I'm trying to create a one-dimensional bubble-chart similar to this mockup:

The dataset contains the x coordinate, the radius and the color of each bubble. In order to avoid overlapping circles, I'd like to scatter close circles through the y-axis, as the mockup shows.
Since I'm new to D3, I wonder what's the recommended way of doing this. I could just calculate the center-y position before plotting the circles, but maybe there is a better option (should I create a custom layout or something?).
Thanks,
Luis