Perspective - Pivot/Contingency table

no xD

Use the base barchart and just rotate it,
or you could recreate the svgs... make a view of it bind the width and x to the right values...
image

[
  {
    "type": "ia.shapes.svg",
    "version": 0,
    "props": {
      "viewBox": "0 0 100 20",
      "elements": [
        {
          "type": "group",
          "elements": [
            {
              "type": "rect",
              "fill": {
                "paint": "#76F001"
              },
              "stroke": {
                "paint": "#000000",
                "width": "0.25"
              },
              "x": 0,
              "y": 0,
              "width": 20,
              "height": 20
            },
            {
              "type": "text",
              "text": "value",
              "x": 0,
              "y": 15
            }
          ]
        },
        {
          "type": "group",
          "elements": [
            {
              "type": "rect",
              "fill": {
                "paint": "#E5A109"
              },
              "stroke": {
                "paint": "#000000",
                "width": "0.25"
              },
              "x": 20,
              "y": 0,
              "width": 20,
              "height": 20
            },
            {
              "type": "text",
              "text": "value",
              "x": 20,
              "y": 15
            }
          ]
        }
      ]
    },
    "meta": {
      "name": "bar"
    },
    "position": {
      "x": 673,
      "y": 767,
      "height": 40,
      "width": 100
    },
    "custom": {}
  }
]
1 Like