adjusting the time scale for vega lite

I would like to set the domain to start 1 day before the extent of the data and end one day after.

See cell in stackedBar

  1. what am I missing when i tried to change the scale?

  2. what is a good way to debug this so next time, I can try to find this out by myself :slight_smile:
    (I tried to use the vl.toJSON() function to output the JSON output -as suggested in Charting with Vega-Lite / Observable / Observable - but this function seems to not be part of the API any more.

Any help is greatly appreciated!

fixed it now - the link works now.

Still not sure to to print the vl object to JSON, that would help debugging.