User:MusikAnimal (WMF)/NPPChart/Core-pie

{ "version": 2, "height": , "width": , "padding": "auto", "legends": [{ "title": "", "fill": "color", "properties": { "legend": { "y": {"value": } },     "title": { "fontSize": {"value": 12}, "y": {"value": -5} },     "labels": { "fontSize": {"value": 12} },     "symbols": { "stroke": {"value": "transparent"} }   }  }],  "padding": "auto", "marks": [ {     "properties": { "enter": { "innerRadius": {"value": }, "stroke": {"value": "white"}, "startAngle": {"field": "layout_start"}, "outerRadius": {"value": }, "endAngle": {"field": "layout_end"}, "fill": {"field": "x_percent", "scale": "color"} }     },      "from": {"data": "table"}, "type": "arc" } ],  "data": [ {     "name": "table", "url": "wikiraw:///User:MusikAnimal (WMF)/NPPChart/Sources/-pie", "transform": [ {"type": "pie","field": "y"}, {         "type": "formula", "field": "x_percent", "expr": "datum.x + ': ' + datum.y + ' (' + round((datum.layout_end - datum.layout_start)/2/PI*100) + '%)'" }     ]    }  ],  "scales": [ {     "name": "color", "range": , "domain": {"data": "table", "field": "x_percent"}, "type": "ordinal" } ] }