How to visualize graph with different data types: boolean & integer?
I have two variables:
- A is an integer from 0-1000u (u=some arbitrary unit)
- B is either 1 or 0
I need to visualize a graph (or graphs) to show the relationship of A & B (y-axis) against t (time; x-axis) and also relationship between A & B
I tried showing them on one graph, but having Boolean and integer value on the same y-axis looks incorrect.
I could just do 2 separate graphs: A/t & B/t but I'm wondering if there's a more elegant way of visualizing this which also shows the relationship between A & B more clearly.