Series Highlighted Ribbon Chart

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "usermeta": {
    "deneb": {
      "build": "1.5.1.0",
      "metaVersion": 1,
      "provider": "vegaLite",
      "providerVersion": "5.6.1"
    },
    "interactivity": {
      "tooltip": true,
      "contextMenu": true,
      "selection": true,
      "highlight": true,
      "dataPointLimit": 50
    },
    "information": {
      "name": "Series Highlighted Ribbon Chart",
      "description": "[No Description Provided]",
      "author": "Kerry Kolosko",
      "uuid": "ff2218eb-6092-4ea8-a524-73b1c79f23a5",
      "generated": "2023-05-15T11:12:31.302Z",
      "previewImageBase64PNG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIsAAAA7CAYAAABL03mKAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnXl8FUW2x3/Vy91v9oSQhYRAAoIQdgmigERQFAU0iOLMiGAQt3GJ88DRMT4cR1FHRUAIguACSsRxATSKBJFFdsJm2EOA7Ou9uWt3V71P3XDDzYKA85zHm6H/0Nyuverb55w6dbohuHJdmYGLnAFykfmuZLsyA7gCyxUILnoGrsBy0VN1JeMVWK4wcNEzcAWWFlN15BoEiQ4YZR2s8KAm/gBqLno2z2Ycmp0vrc8epl5qucs9/zlYGCNp81fFMMkQpDFNeOvmXkL3yBAXH4AXECP0+sOEEHapA2KM+dpoq+wvpV1qO5ea/3xtH78a7UQJPUHACJFEj01dn3wUnkupv/uKA7oD47t7L6XM/4e8zSTLoHfzrvYqNAIg4YMTomJO1Nln80HMHN7jlefztv+9QjG76k6VeA5kj297IrKzhb7tbxV1Dq9Eo+pkpunknJv6DvnkcNn+bw6famg5Ifd0jQsbkhjZ8fEvd21lMlO9mqhZVUmzS1aqcxxnj6RfYzBZg9iz20ucLcs+37e9URYIaSuN532xf4xJttvIX9eecTs0u2ANcwsOGxV1slUkeof03tihI57O27uKVtudXz82qhkMJb2RoNehNnwrbG0tYmXhsX5VB0+cuGpcenXLdMaYadXh0pEqVR08janSqZnb9tdLGg2VNVJJQU2a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RliSEjIzYSQLoSQkzqd7tvAxZsyZUpHAJ0lSbqaUro5JyenabfF23W73dcTQpIYY2copfmLFi1qCrqePHlymE6n604pjeHxxgsWLPB9VTsAxKsEQRjFwzK8Xu+HS5Ysafogc2ZmZjCldIAoin0YY5tqa2u3tAXzhRblck3/RVgmTZoUqdPpIjVNcwmCIKiq6lq8eLHvHy3gV2ZmZgdKqVmSJAOlPLIAhf4n6tFHH9WrqtrF5XK5JEni5S05OTmH/JFZvCyXVpqmSaIoql6vt8w/8QFlvXq9Xq8oin3x4sUcFl8MsL9fiqLIsiybPB7Pz/6yHKTg4OAUnk8QBIkx5iGEnPD3y1+Wp/M+a5pWunjxYrt/TJMnT06QJCmSlxMEoWb+/Pk+Tyi//P3yer1UEASjqqpFgVK1xZhctbW1p3Jzc/9t/t2hX4SFi1xKafezE849iFw85/sn78EHH+RPbk9BEKoZYwaPx/ODf9HOqq9hZyfdSymNtFgsa9544w1fNJy/LCGkkjHGXzzf6FcL/rI8H6+XR8DJsvyTXzL5+0UI0VNKQwghawPKchU1lDHmizPhElGn0/3glzyBZRljRYIglAcCMXXq1DRKKQ8BKKWUVi9atGh3wMPBVbLvI4SEEDeltGzhwoVNZ2ItxlSt1+uPtqWuLlfJcaF+XVANXaiCK+n/OTNwBZb/nLX+p0d6BZZ/egr/cyr4H0+ay5UNkGpSAAAAAElFTkSuQmCC"
    },
    "dataset": [
      {
        "key": "__0__",
        "name": "Date",
        "description": "",
        "type": "dateTime",
        "kind": "column"
      },
      {
        "key": "__1__",
        "name": "Category",
        "description": "",
        "type": "text",
        "kind": "column"
      },
      {
        "key": "__2__",
        "name": "Percent",
        "description": "",
        "type": "numeric",
        "kind": "measure"
      }
    ]
  },
  "config": {
    "config": {
      "autosize": {
        "type": "fit",
        "contains": "padding"
      },
      "padding": {
        "left": 20,
        "top": 20,
        "right": 20,
        "bottom": 20
      }
    },
    "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": "",
      "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"},
  "height": 320,
  "width": 550,
  "padding": {
    "left": 20,
    "top": 20,
    "right": 20,
    "bottom": 20
  },
  "params": [
    {
      "name": "RibbonOpacity",
      "value": 0.1,
      "bind": {
        "input": "range",
        "min": 0.1,
        "max": 1,
        "step": 0.1
      }
    }
  ],
  "encoding": {
    "x": {
      "timeUnit": "yearmonth",
      "field": "__0__",
      "type": "ordinal",
      "title": "",
      "axis": {
        "labelAngle": 0,
        "labelExpr": "[timeFormat(datum.value, '%b'), timeFormat(datum.value, '%m') ? timeFormat(datum.value, '%Y') : '']"
      }
    },
    "y": {
      "aggregate": "sum",
      "field": "__2__",
      "type": "quantitative",
      "axis": false,
      "stack": "zero"
    },
    "color": {
      "field": "__1__",
      "type": "nominal",
      "scale": {
        "scheme": "pbiColorNominal"
      },
      "legend": null
    },
    "order": {
      "aggregate": "sum",
      "field": "__2__",
      "type": "quantitative"
    }
  },
  "layer": [
    {
      "mark": {
        "type": "area",
        "interpolate": "monotone",
        "opacity": {
          "expr": "RibbonOpacity"
        },
        "tooltip": true
      },
      "params": [
        {
          "name": "area",
          "select": {
            "type": "point",
            "fields": ["__1__"],
            "on": "mouseover"
          }
        }
      ],
      "encoding": {
        "y": {
          "aggregate": "sum",
          "field": "__2__",
          "type": "quantitative",
          "axis": false,
          "stack": "zero"
        },
        "opacity": {
          "condition": {
            "param": "area",
            "empty": false,
            "value": 0.7
          }
        }
      }
    },
    {
      "transform": [
        {
          "window": [
            {"op": "rank", "as": "rank"}
          ],
          "sort": [
            {
              "field": "__0__",
              "order": "ascending"
            }
          ]
        },
        {"filter": "datum.rank === 1"}
      ],
      "layer": [
        {
          "mark": {
            "type": "bar",
            "stroke": "white",
            "width": 15,
            "xOffset": -10,
            "tooltip": true
          }
        },
        {
          "mark": {
            "type": "text",
            "align": "right",
            "baseline": "top",
            "dx": -20
          },
          "encoding": {
            "text": {
              "aggregate": "sum",
              "field": "__2__",
              "format": "1.0%"
            }
          }
        }
      ]
    },
    {
      "transform": [
        {
          "window": [
            {"op": "rank", "as": "rank"}
          ],
          "sort": [
            {
              "field": "__0__",
              "order": "descending"
            }
          ]
        },
        {"filter": "datum.rank === 1"},
        {
          "calculate": "format(datum['__2__'], '1.0%')",
          "as": "percentformatted"
        },
        {
          "calculate": "datum['__2__formatted']+', ' +datum['__1__'] ",
          "as": "label"
        }
      ],
      "layer": [
        {
          "mark": {
            "type": "bar",
            "stroke": "white",
            "width": 15,
            "xOffset": 10,
            "tooltip": true
          }
        },
        {
          "mark": {
            "type": "text",
            "align": "left",
            "baseline": "top",
            "dx": 20
          },
          "encoding": {
            "text": {
              "field": "label",
              "type": "nominal"
            }
          }
        }
      ]
    },
    {
      "mark": {
        "type": "bar",
        "stroke": "",
        "width": 2,
        "tooltip": true
      },
      "encoding": {
        "color": {
          "condition": {
            "param": "area",
            "empty": false,
            "field": "__1__",
            "type": "nominal",
            "legend": null
          },
          "value": "white"
        }
      }
    },
    {
      "mark": {
        "type": "text",
        "stroke": "",
        "width": 2,
        "dy": -8,
        "tooltip": true
      },
      "encoding": {
        "text": {
          "aggregate": "sum",
          "field": "__2__",
          "format": "1.0%"
        },
        "color": {
          "condition": {
            "param": "area",
            "empty": false,
            "field": "__1__",
            "type": "nominal",
            "legend": null
          },
          "value": "transparent"
        }
      }
    }
  ]
}

Leave a comment

Your email address will not be published. Required fields are marked *