vega-lite-api

vl.fieldO(…values)

A reference to an ordinal data field. Returns a field instance.