I need my chart to be able to filter data - the way native QuickSight charts do it, can I? How to do that? I see there is still interaction tab, but i don’t see how can I make it work.
My chart sample: {
“chart”: {
“type”: “variablepie”
},
“title”: {
“text”: “QuickSight Donut Chart”
},
“tooltip”: {
“pointFormat”: “{point.name}
Sales: {point.y:,.2f}
Profit: {point.z:,.2f}”
},
“plotOptions”: {
“variablepie”: {
“innerSize”: “75%”,
“borderRadius”: 5,
“dataLabels”: {
“enabled”: true,
“format”: “{point.name}: {point.percentage:.1f} %”,
“style”: {
“fontSize”: “calc(1.5vw + 1.5vh)” // Dynamic font scaling
}
}
}
},
“series”: [
{
“type”: “variablepie”,
“minPointSize”: 10,
“innerSize”: “50%”,
“zMin”: 0,
“name”: “Scenarios”,
“borderRadius”: 5,
“data”: [
“map”,
[“getColumn”, 0, 1, 2], // Group By: Scenario | Sales | Profit
{
“name”: [“get”, [“item”], 0],
“y”: [“get”, [“item”], 1],
“z”: [“get”, [“item”], 2]
}
]
}
]
}