I think both are correct but is that true and what is the difference between them (if there is any)?
This is an example where you can see that...
This is an example in which you can see that...
or in a question
Can you give an example where A is the opposite to B?
Can you give an example in which A is the opposite to B?
