79790737

Date: 2025-10-15 01:59:03
Score: 1
Natty:
Report link

You should be able to use split() with ';' as the delimiter:

{
  ...
  "encoding": {
    "x": {
      ...
      "axis": {
        ...
        "labelExpr": "split(datum.label, ';')"
      }
    }
  },
  ...
}

I don't have your data, but I did a quick mockup with just the categories on the x channel, which hopefully satisfies your requirements:

simple column chart with x-axis labels, split by delimiter

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Marsh-Patrick