Build a ScaleBand over an ordered list of category names. Configure like
a d3 scale: scaleBand(tickers).domain([0, n]).range([0, width]) — the
container sets domain([0, n]) from the layer's slot extent and range([0, plotWidth]). categories supplies the labels; the domain drives the geometry,
so the two must agree on count (categories.length === n), which they do when
both come from the same layer's xCategories() / slot extent.
Build a ScaleBand over an ordered list of category names. Configure like a d3 scale:
scaleBand(tickers).domain([0, n]).range([0, width])— the container setsdomain([0, n])from the layer's slot extent andrange([0, plotWidth]).categoriessupplies the labels; the domain drives the geometry, so the two must agree on count (categories.length === n), which they do when both come from the same layer'sxCategories()/ slot extent.