Ribbon Chart with Series Labels

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "usermeta": {
    "deneb": {
      "build": "1.4.0.0",
      "metaVersion": 1,
      "provider": "vegaLite",
      "providerVersion": "5.4.0"
    },
    "interactivity": {
      "tooltip": true,
      "contextMenu": true,
      "selection": false,
      "highlight": false,
      "dataPointLimit": 50
    },
    "information": {
      "name": "Ribbon Chart with Series Labels",
      "description": "[No Description Provided]",
      "author": "Kerry Kolosko",
      "uuid": "a08480c9-aa38-4d67-b1cc-3835a11eddc5",
      "generated": "2022-09-13T23:41:49.158Z",
      "previewImageBase64PNG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAABaCAYAAACxHBQuAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XNWV+M+5782bopE0o967JVsGY+MCptnGBhJDAknAJBBKSBYCbGBTIGzy30AS2JTN/iHx/gEbWNiFhA1O6Atr1MC4UGzcJI0k25KsLo3qSNPfu+f/nfHIKwnJkk0om533ffNNu3PnvnN/97R773sIsSMmgb+wBHCm+ojoAQB4HBFbZvtPIroZAA4jYvUcyt4GALWIuG0OZe8EgPcQcdccyn4RAOyI+Ic5lP0yAKiI+Nwcyi4BgIsR8VdzKLscAC5AxH+eQ9kUAPguIv54DmUzAOA7cyybCwDfnktZ/t9oP9+LiPps7Zjr9yeC6hcAsDkGFX2cUN2HiH87W2cREUN1DyL+3RzKMlR3IOJds5WNQvUMANwYg2oaaRHR/0RNFYPqBKYyZv6OmZKTNX8xqGJQndigxKA6Jp+YTzWL40EU86nm4ptNLBODKgZVzFE/gQmOOerH/LqPHP3ddx+IFStK7OvXH/acrJaKmb9PP0/1qTvquu79044dqx7Q9YFriLAbkQQRaCCQkKCVCPasW9fcdDJwxczf/3LzFwz2vbbzndUvST1QSASpIChOStErBNkBYBik+NO6dYdnTT7HfCqiz0pG/VPVVJWVRXeef/47l2ha6he3bs1NMJnMZxHJMcOQHZdccnTWmZSZxmNMU/0v1VSVlYVXAuI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ZWWkZGB0/3uZMpyPXFxcSI+Pp5ma8P4f3LbN27cyOczSYtMPL/pyt522232hx9+mDXLpN+dZL0Kd7zD4dDH23CCeiNlo/1hbNmyxZhjWdZYrDWP/8fUvuN6WlpawnY7r7y2mJ5++ulZV4JMrWOm95OyqzfffDOryxxEXI6I/Cfs3LFaNdnt9jcffPDB41MS42U5sopWHhZCsA8VfuSRRxon/uHEsmwq2AnVdd2lqmrWpk2bds1W1jCMWkVRTtu0adN/TT2RW2+9lXcrrzcMY5DrNZlMB8Lh8Bc1TfvDxo0bJ22V4rK6rvMVdBkKjj4P8Gh/7LHH9k8FZWJZDjaEEKyhuwcHB/dy505sxzRlWQvbDMPoefzxxydd0e6mm27i9AbLN+JHsjZExHmIuP3RRx+dNEnMZVVV5es3pLB/pihKp2EY7Kv2PvbYY/smtmFiWdZwUe3EW/ebN23axOd3/OBB4HA4uN9OJyKO2Dly5ATx3s2bN895NcKcoSKic6IhOfsWjaqqphuG4bDZbDVToeKyQggv+yec5xFCRHyJRx99dNJlcxiqqWURkX2TkU2bNnHy8fjIn64s1yulLN28efOH1vLcfPPNpwshsnRdZ/+GE30cDX6eiH60efPm41dZ4XZxWe5szq4riiI1TWsMBAI8L/n+VGFOKcuJyfGIa+cs9XJer03X9bLHH3+c2ztJq33729/m3TK8DIf9tlEGQAhRZBhG1+OPPz5pTXu0bHbU3LMZO6woSi6DuGnTJo6Ujx8Ty3J6RlF4DZTkiLp78+bNB6cMXI7SV0speXDYWG48j2g2m4enDsS5aqeJ5WZcpXAqlcV+E5MAS+D/AxRHxg/LtOX6AAAAAElFTkSuQmCC"
    },
    "dataset": [
      {
        "key": "__0__",
        "name": "Category",
        "description": "",
        "type": "text",
        "kind": "column"
      },
      {
        "key": "__1__",
        "name": "Year",
        "description": "",
        "type": "numeric",
        "kind": "column"
      },
      {
        "key": "__2__",
        "name": "Colours",
        "description": "Column or measure with valid CSS colours",
        "type": "text",
        "kind": "column"
      },
      {
        "key": "__3__",
        "name": "Value",
        "description": "",
        "type": "numeric",
        "kind": "measure"
      }
    ]
  },
  "config": {
    "view": {"stroke": "transparent"},
    "font": "Segoe UI",
    "arc": {},
    "area": {
      "line": false,
      "opacity": 0.8
    },
    "bar": {},
    "line": {
      "strokeWidth": 2,
      "strokeCap": "round",
      "strokeJoin": "round"
    },
    "path": {},
    "point": {
      "filled": false,
      "size": 75
    },
    "rect": {},
    "shape": {},
    "symbol": {
      "strokeWidth": 1.5,
      "size": 50
    },
    "text": {
      "font": "Segoe UI",
      "fontSize": 12,
      "fill": "#666666"
    },
    "axis": {
      "ticks": false,
      "grid": true,
      "gridColor": "white",
      "gridWidth": 3,
      "domain": false,
      "labelColor": "#666666",
      "labelFontSize": 12,
      "titleFont": "wf_standard-font, helvetica, arial, sans-serif",
      "titleColor": "#070f25",
      "titleFontSize": 16,
      "titleFontWeight": "normal"
    },
    "axisQuantitative": {
      "tickCount": 3,
      "grid": false,
      "gridColor": "#C8C8C8",
      "gridDash": [1, 5],
      "labelFlush": false
    },
    "axisX": {"labelPadding": 5},
    "axisY": {"labelPadding": 10},
    "header": {
      "titleFont": "wf_standard-font, helvetica, arial, sans-serif",
      "titleFontSize": 16,
      "titleColor": "#070f25",
      "labelFont": "Segoe UI",
      "labelFontSize": 13.333333333333332,
      "labelColor": "#666666"
    },
    "legend": {
      "titleFont": "Segoe UI",
      "titleFontWeight": "bold",
      "titleColor": "#666666",
      "labelFont": "Segoe UI",
      "labelFontSize": 13.333333333333332,
      "labelColor": "#666666",
      "symbolType": "circle",
      "symbolSize": 75
    }
  },
  "data": {"name": "dataset"},
  "encoding": {
    "x": {
      "field": "__1__",
      "type": "ordinal",
      "axis": {
        "labelAngle": 0,
        "zindex": 1
      },
      "title": ""
    },
    "y": {
      "aggregate": "sum",
      "field": "__3__",
      "type": "quantitative",
      "axis": false
    },
    "color": {
      "field": "__2__",
      "type": "nominal",
      "scale": null,
      "legend": null
    },
    "detail": {
      "field": "__0__",
      "type": "nominal"
    },
    "order": {
      "aggregate": "sum",
      "field": "__3__",
      "type": "quantitative"
    }
  },
  "layer": [
    {
      "mark": {
        "type": "area",
        "tooltip": true
      },
      "encoding": {
        "x": {
          "field": "__1__",
          "type": "ordinal",
          "axis": {
            "labelAngle": 0,
            "zindex": 1
          }
        },
        "y": {
          "aggregate": "sum",
          "field": "__3__",
          "type": "quantitative",
          "axis": false
        },
        "color": {
          "field": "__2__",
          "type": "nominal",
          "scale": null,
          "legend": null
        },
        "detail": {
          "field": "__0__",
          "type": "nominal"
        },
        "order": {
          "aggregate": "sum",
          "field": "__3__",
          "type": "quantitative"
        }
      }
    },
    {
      "transform": [
        {
          "window": [
            {"op": "rank", "as": "rank"}
          ],
          "sort": [
            {
              "field": "__1__",
              "order": "descending"
            }
          ]
        },
        {"filter": "datum.rank === 1"}
      ],
      "mark": {
        "type": "text",
        "align": "left",
        "dx": 4,
        "dy": 0,
        "tooltip": true
      },
      "encoding": {
        "x": {
          "field": "__1__",
          "type": "ordinal",
          "axis": {
            "labelAngle": 0,
            "zindex": 1
          }
        },
        "y": {
          "aggregate": "sum",
          "field": "__3__",
          "type": "quantitative",
          "axis": false,
          "stack": "zero"
        },
        "color": {
          "field": "__2__",
          "type": "nominal",
          "scale": null,
          "legend": null
        },
        "text": {
          "condition": {
            "test": "datum['__0__ (groups)'] != '#bdbdbd'",
            "type": "nominal",
            "field": "__0__"
          },
          "value": ""
        },
        "detail": {
          "field": "__0__",
          "type": "nominal"
        },
        "order": {
          "aggregate": "sum",
          "field": "__3__",
          "type": "quantitative"
        }
      }
    }
  ]
}

Leave a comment

Your email address will not be published.