All functions |
|
---|---|
Draw circle https://stackoverflow.com/questions/6862742/draw-a-circle-with-ggplot2 |
|
Draw onion diagram |
|
Hlpr to iterative calculate y coord bias for circles center using previous circle precalculated value |
|
Calculate labels y coord as middle between upper half of circles |
|
Check color vector if provided, if not - generate colors |
|
Prepare dataframe with circles parameters |