I'm aware of the meaning of "be/have something to do with sth", which is
to be related to something or a cause of something but not in a way that you know about or understand exactly
A tutorial uses a similar phrase
this is all the data that has to do with this particular bubble.
I understand it means
this is all the data that is related to this particular bubble.
The question is whether it's clear and natural to say "has to do with" in this context?