I have a scatter plot graph with a regression line. I'd like to add a vertical line showing which dates are used to make a calculation on my dashboard. The calculation involves using data from the most recent three weeks. I'd like to visualize that by adding a vertical line on each side maybe in bracket form.
How could I add these brackets to my vega lite visualization?
Is it possible to add a vertical bar denoting a time span to my vega-lite visualization?
29 Views Asked by Chumbi At
1
I'm not aware of anything you could use as curly brackets, but another option might be to layer your plot with a "rect" mark behind (a background rectangle; see simple example below) and a "point" mark in front (the scatter plot).