Export as CSV and view tabular data don't work when you don't have a "value" column even though the value is mapped to another column that exists.
What I expected to happen
The chart looks as expected. I expected taht I can export the data I see in the chart.
What I think is the issue
The issue seems to stem from the fact that getTabularDataArray() from pie.ts does not use valueMapsTo like it uses groupMapsTo, but the key 'value' is hardcoded.
### Relevant log output
```js
pie.ts:36 Uncaught TypeError: Cannot read properties of undefined (reading 'toLocaleString')
at pie.ts:36:58
at Array.map (<anonymous>)
at yt2.getTabularDataArray (pie.ts:34:19)
at rc2.getModalHTML (modal.ts:74:33)
at DocumentFragment.handleShowModal (modal.ts:35:24)
at ot4.dispatchEvent (events.ts:31:25)
at Object.clickFunction (toolbar.ts:535:48)
at Hs2.triggerFunctionAndEvent (toolbar.ts:355:12)
at HTMLButtonElement.<anonymous> (toolbar.ts:110:14)
at HTMLButtonElement.<anonymous> (on.js:3:14)
Name
Octavian
Are you an IBM employee?
What happened?
A bug happened!
Summary
Export as CSV and view tabular data don't work when you don't have a "value" column even though the value is mapped to another column that exists.
What I expected to happen
The chart looks as expected. I expected taht I can export the data I see in the chart.
What I think is the issue
The issue seems to stem from the fact that getTabularDataArray() from pie.ts does not use valueMapsTo like it uses groupMapsTo, but the key 'value' is hardcoded.
The offending piece of code in core/src/model/pie.ts:
Version
"@carbon/charts-svelte": "^1.13.8"
Data & options used
Codesandbox example
It happens in this example. Export as CVS and See as table are not working. https://charts.carbondesignsystem.com/svelte/?path=/story/simple-charts-donut--donut-value-maps-to-count
What priority level would this be in your opinion?
P2