Let's say I have a graph with data set, now given a value, what is the best way to find the key or index where the value will be equal to the give value? Thanks.