It is a tree. Just based on XY sex chromosomes.
Think about X and Y only. They determinate the sex of the human. The rest of chromosomes, 22 paires autosome, are not in the picture.
How close between them?
Re: Wikipedia
XY sex-determination system