Description Usage Arguments Value
Create a set of mesh3d objects representing a pie chart
1 2 | create_pie_objects(labels, counts, start_degrees = 0, tilt_degrees = 0,
height = 0.1, camera_eye = c(0, 3, 5), camera_look_at = c(0, 0, 0))
|
labels |
the labels for the segments |
counts |
the count of occurrences for each label |
start_degrees |
starting angle for first pie slice (in degrees). Default: 0 |
tilt_degrees |
angle by which to tilt the pie towards the camera (in degrees). Default: 0 |
height |
height of the pie. Default: 0.1 |
camera_eye |
location of camera eye. Default: c(0, 3, 5) |
camera_look_at |
at what point is the camera looking. Default: c(0, 0, 0) |
mesh3dlist of objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.