Extract PiePoint data from an am5percent pie series.
Also serves an am5percent funnel series and an am5wc word cloud, whose
stages and terms carry the same category/value pair in the same data
order — a funnel's BarPoint[], a word cloud's WordCloudPoint[] and a
pie's PiePoint[] are the same { x, y } shape.
A pie series is bound to no axis: each data item carries the slice's
category and its value, and the wedges are drawn in data-item order.
Items with no category or no finite value are skipped — a slice with
nothing to sonify would still take a navigation step and shift every later
slice away from the wedge it names.
The share each slice represents is deliberately not computed here. MAIDR's
pie trace derives it from the values, so a percentage cannot drift out of
step with the numbers it was supposedly derived from.
Extract PiePoint data from an am5percent pie series.
Also serves an am5percent funnel series and an am5wc word cloud, whose stages and terms carry the same
category/valuepair in the same data order — a funnel'sBarPoint[], a word cloud'sWordCloudPoint[]and a pie'sPiePoint[]are the same{ x, y }shape.A pie series is bound to no axis: each data item carries the slice's
categoryand itsvalue, and the wedges are drawn in data-item order. Items with no category or no finite value are skipped — a slice with nothing to sonify would still take a navigation step and shift every later slice away from the wedge it names.The share each slice represents is deliberately not computed here. MAIDR's pie trace derives it from the values, so a percentage cannot drift out of step with the numbers it was supposedly derived from.