Fixed height line chart with intentional gaps
I have a line mark with fixed y value and I want it to be segmented based on a binary value (with values 0 and 1).
Snapping brush to dates for filtering
I have a text mark and two area marks concatenated vertically (related to my earlier question). The area marks each have a parameter brush and area 2 brush controls the domain of area 1. I’m using the brushed areas to filter the text mark and the issue is that as the x-axis is temporal, the brush seems to produce intervals in milliseconds whereas I want to brush in day units. I’ve changed the timeUnit to yearmonthdate
however now the filtering does not work at all.
Unfilter mark by brush deselection
I have a text mark and two area marks concatenated vertically (related to my earlier question).
The area marks each have a parameter brush and area 2 brush controls the domain of area 1. Unlike my earlier question, I’m using the brushed areas to filter the dataset instead of using the brushed dates directly in the text mark – this enables setting up further calculations on the filtered dataset. For now, I just display the filtered time range.