Skip to content

Function: arcShapes() ​

ts
function arcShapes(d, style, items): DomainShape[];

Experimental

Pie slices (arc data, world px) as sector shapes. items: one entry per group of arcs (a slice and its outline rims, drawn by the trace as extra arcs, which are skipped), the item its depth is read at; default one group per arc.

Parameters ​

ParameterType
dData
styleShapeStyle
itemsArrayLike<number> | undefined

Returns ​

DomainShape[]

Released under the MIT License.