Data:Templatedata/Graph:Pie2.tab
Jump to navigation
Jump to search
Pie chart graph
name | label | type | required | suggested | default | description |
---|---|---|---|---|---|---|
string | localized | string | boolean | boolean | string | localized |
name | label | type | required | suggested | default | description |
width | width(2) | number | ☑ | 300 | Specify the width of the pie in number of pixels(2) | |
table | Table(6) | string | ☑ | Data page name on Commons, without the Data: prefix. The table should contain at least three columns - major group, minor group, and numeric value(2) | ||
field1 | field1(2) | ☑ | Id of the column shown as the inner circle(2) | |||
field2 | field2(2) | ☑ | Id of the column shown as the outer circle(2) | |||
value | value(2) | ☑ | Id of the column with the numeric value(2) | |||
colors | colors(2) | string | The colors of the slices, specified as Vega defined rangeliteral. This can also be a list like [ "red", "green" ](2) | |||
innerportion | innerportion(1) | number | Portion of the radius shown for the inner circle. Must be between 0 and 0.5(1) |
Created by ערן
Data available under Creative Commons Zero.