candy pie playground

candy pie

a configurable, interactive 3d pie chart in your browser

data for the slices

You can modify all data in the table below. Each row corresponds with a slice of the candy pie.

candy pie

configuration

innerRadiusPct

%

spaceBetweenSlices


backgroundColor


secondsPerRotation

s

rotationSlowDown


allowVerticalRotation


cameraDegreesY

°

verticalFactor




labels

sliceShowLabel


labelFontFactor


labelColor


By default, black or white is chosen per slice, for the best contrast against the color of the slice. A yellow slice will have a black label, a blue slice a white label.

Setting the label color here is for all slices.

labelExtraTopMargin


hoverShowLabel


hoverShowHeight


hoverShowArcPct


addLegend


extraStartDegrees


renderOnce