I’m having trouble addressing two dataset queries in the custom chart.
Can anyone see where I’m going wrong here:
{
"width": {{block.width}},
"height": {{block.height}},
"autosize": {
"type": "fit",
"contains": "padding"
},
"data": {
"values": [
{"category": "Test", "value":"gauge-1"},
{"category": "Test2", "value":"gauge-0"}
]
},
"mark": {"type": "arc", "innerRadius": 100},
"encoding": {
"theta": {"field": "value", "type": "quantitative"},
"color": {"field": "category", "type": "nominal"}
}
}```