Difference between revisions of "Template:Graph:CategoryPie"

From Public Play Space Community
Line 10: Line 10:
       "name": "table",
       "name": "table",
       "values": [
       "values": [
         {"id": "Biology", "field": 4},
         {"id": "Check1", "field": 1},
         {"id": "Chemistry", "field": 8},
         {"id": "Check2", "field": 1},
         {"id": "Computer Science", "field": 2},
         {"id": "Check3", "field": 1}
        {"id": "Programming", "field": 2},
        {"id": "Sociology", "field": 8}
       ],
       ],
       "transform": [
       "transform": [
        {"type": "formula", "expr": "datum.id + ': ' + datum.field", "as": "tooltip"},
         {
         {
           "type": "pie",
           "type": "pie",

Revision as of 07:50, 19 May 2020