what is a diagram that shows the relation between variable ​